[arch-commits] Commit in linux/trunk (PKGBUILD)
Tobias Powalowski
tpowa at nymeria.archlinux.org
Wed Apr 10 07:31:34 UTC 2013
Date: Wednesday, April 10, 2013 @ 09:31:34
Author: tpowa
Revision: 182405
update to new package standards with prepare function
Modified:
linux/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-04-10 06:49:54 UTC (rev 182404)
+++ PKGBUILD 2013-04-10 07:31:34 UTC (rev 182405)
@@ -27,7 +27,7 @@
'f3def2cefdcbb954c21d8505d23cc83c')
_kernelname=${pkgbase#linux}
-build() {
+prepare() {
cd "${srcdir}/${_srcname}"
# add upstream patch
@@ -57,7 +57,11 @@
# 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
More information about the arch-commits
mailing list