summaryrefslogtreecommitdiff
path: root/pcr/python-lirc
diff options
context:
space:
mode:
authoraurelien <aurelien@xload.io>2014-02-06 16:38:54 +0100
committeraurelien <aurelien@xload.io>2014-02-06 16:38:54 +0100
commit47e8cfeaaca88f26d78ffae21a7fd5eb1fa682cf (patch)
tree1bbec4c3d5492252fec76d1341ce0f333ee6f997 /pcr/python-lirc
parent747b7887d668a8141ed46ac950b89e3506bde1e7 (diff)
+ python-lirc
Diffstat (limited to 'pcr/python-lirc')
-rw-r--r--pcr/python-lirc/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/pcr/python-lirc/PKGBUILD b/pcr/python-lirc/PKGBUILD
new file mode 100644
index 000000000..06e6988ef
--- /dev/null
+++ b/pcr/python-lirc/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id$
+# Contributor: Eelco Cramer <eelco@servicelab.org>
+# Maintainer : Parabola Aurélien Desbrières <aurelien@xload.io>
+
+pkgname=python-lirc
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="LIRC extension written in Cython for Python 3"
+arch=('any')
+url="https://github.com/piface/pifacecad"
+license=('GPL3')
+depends=('python'
+ 'lirc'
+ 'cython')
+makedepends=('python-distribute')
+source=(https://github.com/tompreston/python-lirc/archive/v${pkgver}.tar.gz)
+
+build() {
+ cd $srcdir/$pkgname-${pkgver}
+ make py3
+ python setup.py build
+}
+
+package() {
+ cd $srcdir/$pkgname-${pkgver}
+ python setup.py install --prefix=/usr --root=$pkgdir install
+}
+