update to new package standards with prepare function

This commit is contained in:
Tobias Powalowski 2013-04-10 07:31:34 +00:00
parent 1766d3c99e
commit 974e4589b9
1 changed files with 5 additions and 1 deletions

View File

@ -26,7 +26,7 @@ md5sums=('1c738edfc54e7c65faeb90c436104e2f'
'f3def2cefdcbb954c21d8505d23cc83c') 'f3def2cefdcbb954c21d8505d23cc83c')
_kernelname=${pkgbase#linux} _kernelname=${pkgbase#linux}
build() { prepare() {
cd "${srcdir}/${_srcname}" cd "${srcdir}/${_srcname}"
# add upstream patch # add upstream patch
@ -56,6 +56,10 @@ build() {
# don't run depmod on 'make install'. We'll do this ourselves in packaging # don't run depmod on 'make install'. We'll do this ourselves in packaging
sed -i '2iexit 0' scripts/depmod.sh sed -i '2iexit 0' scripts/depmod.sh
}
build() {
cd "${srcdir}/${_srcname}"
# get kernel version # get kernel version
make prepare make prepare