[arch-commits] Commit in linux-lts/trunk (PKGBUILD)
Tobias Powalowski
tpowa at nymeria.archlinux.org
Wed Apr 10 07:33:05 UTC 2013
Date: Wednesday, April 10, 2013 @ 09:33:05
Author: tpowa
Revision: 182406
update to new package standards with prepare function
Modified:
linux-lts/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-04-10 07:31:34 UTC (rev 182405)
+++ PKGBUILD 2013-04-10 07:33:05 UTC (rev 182406)
@@ -38,7 +38,7 @@
_kernelname=${pkgbase#linux}
-build() {
+prepare() {
cd "${srcdir}/${_srcname}"
# add upstream patch
@@ -90,7 +90,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