From 974e4589b9465a4f1a09183266012ee760b0d5b5 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Wed, 10 Apr 2013 07:31:34 +0000 Subject: [PATCH] update to new package standards with prepare function --- PKGBUILD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index 26d7e70..72e7490 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -26,7 +26,7 @@ md5sums=('1c738edfc54e7c65faeb90c436104e2f' 'f3def2cefdcbb954c21d8505d23cc83c') _kernelname=${pkgbase#linux} -build() { +prepare() { cd "${srcdir}/${_srcname}" # add upstream patch @@ -56,6 +56,10 @@ build() { # don't run depmod on 'make install'. We'll do this ourselves in packaging sed -i '2iexit 0' scripts/depmod.sh +} + +build() { + cd "${srcdir}/${_srcname}" # get kernel version make prepare