[arch-commits] Commit in fcpci/trunk (PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Thu Mar 29 08:42:22 EDT 2012


    Date: Thursday, March 29, 2012 @ 08:42:21
  Author: tpowa
Revision: 154490

move kernver to build function

Modified:
  fcpci/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-29 09:52:47 UTC (rev 154489)
+++ PKGBUILD	2012-03-29 12:42:21 UTC (rev 154490)
@@ -3,9 +3,8 @@
 
 pkgname=fcpci
 pkgver=31107
-pkgrel=70
+pkgrel=72
 _extramodules=extramodules-3.3-ARCH
-_kernver="$(cat /lib/modules/${_extramodules}/version)"
 pkgdesc="AVM ISDN driver for FRITZ PCI isdn cards. For stock arch linux kernel."
 arch=(i686 x86_64)
 license=('custom:"AVM"' 'LGPL')
@@ -61,6 +60,7 @@
 options=(!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