[arch-commits] Commit in lirc/trunk (PKGBUILD)
Tobias Powalowski
tpowa at archlinux.org
Wed Nov 24 10:30:09 UTC 2010
Date: Wednesday, November 24, 2010 @ 05:30:08
Author: tpowa
Revision: 100583
upgpkg: lirc 0.9.0.pre1-1
bump to latest pre1 to fix .36 kernel issues
Modified:
lirc/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-11-24 10:22:41 UTC (rev 100582)
+++ PKGBUILD 2010-11-24 10:30:08 UTC (rev 100583)
@@ -2,7 +2,7 @@
# Maintainer: Paul Mattal <paul at archlinux.org>
pkgname=lirc
-pkgver=0.8.7
+pkgver=0.9.0.pre1
pkgrel=1
_kernver=2.6.36-ARCH
pkgdesc="Linux Infrared Remote Control kernel modules for stock arch kernel"
@@ -14,15 +14,14 @@
replaces=('lirc+pctv')
options=('!makeflags')
install=$pkgname.install
-source=("http://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('fb1dcddbc8ca3d03c7f3a2d40cf28b71')
+source=(http://www.lirc.org/software/snapshots/lirc-0.9.0-pre1.tar.bz2
+ #"http://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ )
+md5sums=('13ba59178adee4e6be8a9a1966ab3133')
build() {
# configure
- cd ${srcdir}/lirc-${pkgver}
- # see http://bugs.gentoo.org/301321
- #patch -p0 -i ../kernel-2.6.33.patch
- #patch -Np0 -i ../kernel-2.6.35.patch
+ cd ${srcdir}/lirc-0.9.0-pre1
./configure --enable-sandboxed --prefix=/usr \
--with-driver=all --with-kerneldir=/usr/src/linux-${_kernver}/ \
--with-moduledir=/lib/modules/${_kernver}/kernel/drivers/misc \
@@ -46,10 +45,13 @@
# build
cd drivers
make
+}
+
+package() {
+ cd ${srcdir}/lirc-0.9.0-pre1
make DESTDIR=${pkgdir} 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
}
-
More information about the arch-commits
mailing list