[arch-commits] Commit in lirc/trunk (PKGBUILD lirc.install)
Tobias Powalowski
tpowa at archlinux.org
Tue Oct 25 13:59:24 UTC 2011
Date: Tuesday, October 25, 2011 @ 09:59:24
Author: tpowa
Revision: 141181
upgpkg: lirc 1:0.9.0-7
rebuild against 3.1 series
Modified:
lirc/trunk/PKGBUILD
lirc/trunk/lirc.install
--------------+
PKGBUILD | 11 ++++++-----
lirc.install | 2 +-
2 files changed, 7 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-10-25 13:40:31 UTC (rev 141180)
+++ PKGBUILD 2011-10-25 13:59:24 UTC (rev 141181)
@@ -4,13 +4,14 @@
pkgbase=lirc
pkgname=('lirc' 'lirc-utils')
pkgver=0.9.0
-pkgrel=6
+pkgrel=7
epoch=1
-_kernver=3.0-ARCH
+_extramodules=extramodules-3.1-ARCH
+_kernver="$(cat /lib/modules/${_extramodules}/version)"
arch=('i686' 'x86_64')
url="http://www.lirc.org/"
license=('GPL')
-makedepends=('help2man' 'linux-headers>=3.0' 'linux-headers<3.1' 'alsa-lib' 'libx11' 'libftdi' 'libirman' 'python2')
+makedepends=('help2man' 'linux-headers>=3.1' 'linux-headers<3.2' 'alsa-lib' 'libx11' 'libftdi' 'libirman' 'python2')
options=('!makeflags' '!strip')
source=(http://prdownloads.sourceforge.net/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2
lirc_wpc8769l.patch
@@ -60,12 +61,12 @@
package_lirc() {
pkgdesc="Linux Infrared Remote Control kernel modules for stock arch kernel"
- depends=('lirc-utils' 'linux>=3.0' 'linux<3.1')
+ depends=('lirc-utils' 'linux>=3.1' 'linux<3.2')
replaces=('lirc+pctv')
install=lirc.install
cd "${srcdir}/lirc-${pkgver}/drivers"
- make DESTDIR="${pkgdir}" install
+ make DESTDIR="${pkgdir}" moduledir="/lib/modules/${_extramodules}" install
# set the kernel we've built for inside the install script
sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" "${startdir}/lirc.install"
Modified: lirc.install
===================================================================
--- lirc.install 2011-10-25 13:40:31 UTC (rev 141180)
+++ lirc.install 2011-10-25 13:59:24 UTC (rev 141181)
@@ -1,4 +1,4 @@
-KERNEL_VERSION=3.0-ARCH
+KERNEL_VERSION=3.1.0-1-ARCH
post_install() {
# updating module dependencies
More information about the arch-commits
mailing list