diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-02-11 14:33:59 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-02-11 14:33:59 (GMT) |
commit | d4abfc26fad6915272777b074034982ceac2c8eb (patch) | |
tree | 2a53327611009b65bc062d5ff821c07a61c21229 /abs/core/iguanair/PKGBUILD | |
parent | 841812eb8b3d94f5d26310b035894ecbc2bc2a7c (diff) | |
download | linhes_pkgbuild-d4abfc26fad6915272777b074034982ceac2c8eb.zip linhes_pkgbuild-d4abfc26fad6915272777b074034982ceac2c8eb.tar.gz linhes_pkgbuild-d4abfc26fad6915272777b074034982ceac2c8eb.tar.bz2 |
iguanair: update to 1.1.0
Diffstat (limited to 'abs/core/iguanair/PKGBUILD')
-rwxr-xr-x | abs/core/iguanair/PKGBUILD | 15 |
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') |