summaryrefslogtreecommitdiffstats
path: root/abs/core/iguanair/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/iguanair/PKGBUILD')
-rwxr-xr-xabs/core/iguanair/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/abs/core/iguanair/PKGBUILD b/abs/core/iguanair/PKGBUILD
index 417dbf5..6631374 100755
--- a/abs/core/iguanair/PKGBUILD
+++ b/abs/core/iguanair/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=iguanair
-pkgver=1.0.3
-pkgrel=2
+pkgver=1.1.0
+pkgrel=1
url="http://iguanaworks.net"
pkgdesc="Linux Infrared Remote Control usb from iguanaworks"
license=('GPL2' 'LGPL')
@@ -11,11 +11,12 @@ source=(http://iguanaworks.net/downloads/iguanaIR-${pkgver}.tar.bz2)
build() {
cd ${srcdir}/iguanaIR-${pkgver} || return 1
- PYTHON_VERSION=2.7 ./configure
+ PYTHON_VERSION=2.7 ./runCmake
+ cd ${srcdir}/iguanaIR-${pkgver}/build || return 1
make || return 1
}
package() {
- cd ${srcdir}/iguanaIR-${pkgver} || return 1
+ cd ${srcdir}/iguanaIR-${pkgver}/build || return 1
make PREFIX=${pkgdir}/usr DESTDIR=${pkgdir} install || return 1
install -D -m755 igclient ${pkgdir}/usr/bin/
cp igd* ${pkgdir}/usr/bin/
@@ -29,6 +30,10 @@ package() {
cp -r ${srcdir}/iguanaIR-${pkgver}/utils/* ${pkgdir}/usr/share/${pkgname}/utils
cp -r ${srcdir}/iguanaIR-${pkgver}/scripts/* ${pkgdir}/usr/share/${pkgname}/scripts
+ # move lib/udev to usr/lib/udev
+ mv ${pkgdir}/lib/udev ${pkgdir}/usr/lib/
+ rm -rf ${pkgdir}/lib
+
# python2 fix
cd ${pkgdir}/usr/share/${pkgname}/utils
sed -i -e "s|\#\!/usr/bin/python\ \-tt|\#\!/usr/bin/python2\ \-tt|" \
@@ -37,4 +42,4 @@ package() {
sed -i -e "s|\#\!/usr/bin/python\ \-tt|\#\!/usr/bin/python2\ \-tt|" \
-e "s|\#\!/usr/bin/python$|\#\!/usr/bin/python2|" $(ls)
}
-md5sums=('172b897083f014c9b5ade296ccc48298')
+md5sums=('798eda1de8873c8da41fb50ffe221140')