[arch-commits] Commit in fcpcmcia/trunk (PKGBUILD)
Tobias Powalowski
tpowa at archlinux.org
Thu Mar 29 12:43:09 UTC 2012
Date: Thursday, March 29, 2012 @ 08:43:09
Author: tpowa
Revision: 154491
move kernver to build function
Modified:
fcpcmcia/trunk/PKGBUILD
----------+
PKGBUILD | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-03-29 12:42:21 UTC (rev 154490)
+++ PKGBUILD 2012-03-29 12:43:09 UTC (rev 154491)
@@ -5,7 +5,6 @@
pkgver=31107
pkgrel=66
_extramodules=extramodules-3.3-ARCH
-_kernver="$(cat /lib/modules/${_extramodules}/version)"
pkgdesc="AVM ISDN driver for FRITZ PCMCIA isdn cards. For stock arch linux kernel"
arch=(i686 x86_64)
license=('custom:"AVM"' 'LPGL')
@@ -90,6 +89,7 @@
options=(!makeflags !strip)
build() {
+ _kernver="$(cat /lib/modules/${_extramodules}/version)"
cd $srcdir/fritz/src
[ "$CARCH" = "i686" ] && (patch -Np0 -i ../../atomic.patch)
[ "$CARCH" = "i686" ] && (patch -Np0 -i ../../kernel-2.6.39-i686.patch)
More information about the arch-commits
mailing list