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

Tobias Powalowski tpowa at archlinux.org
Thu Mar 29 08:45:00 EDT 2012


    Date: Thursday, March 29, 2012 @ 08:45:00
  Author: tpowa
Revision: 154493

move kernver to build function

Modified:
  lirc/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-29 12:44:10 UTC (rev 154492)
+++ PKGBUILD	2012-03-29 12:45:00 UTC (rev 154493)
@@ -4,10 +4,9 @@
 pkgbase=lirc
 pkgname=('lirc' 'lirc-utils')
 pkgver=0.9.0
-pkgrel=13
+pkgrel=14
 epoch=1
 _extramodules=extramodules-3.3-ARCH
-_kernver="$(cat /lib/modules/${_extramodules}/version)"
 arch=('i686' 'x86_64')
 url="http://www.lirc.org/"
 license=('GPL')
@@ -32,6 +31,7 @@
          '69d099e6deedfa3c1ee2b6e82d9b8bfb')
 
 build() {
+  _kernver="$(cat /lib/modules/${_extramodules}/version)"
   cd "${srcdir}/lirc-${pkgver}"
   patch -Np1 -i "${srcdir}/lirc_wpc8769l.patch"
   patch -Np1 -i "${srcdir}/lircd-handle-large-config.patch"



More information about the arch-commits mailing list