summaryrefslogtreecommitdiff
path: root/pcr/python-lirc/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-02-06 16:55:33 -0200
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-02-06 16:55:33 -0200
commitbe7bcd5b4dc84932918b7c9afea7c744b16d2be8 (patch)
tree712a667adee4890a1e87147955f5445b58d4370a /pcr/python-lirc/PKGBUILD
parentda425e1398bacd8f90603cbdec07d111f6be8f7a (diff)
parent52e05295dfe134f6d8aff1cb9406ad2b89aed67a (diff)
downloadabslibre-be7bcd5b4dc84932918b7c9afea7c744b16d2be8.tar.gz
abslibre-be7bcd5b4dc84932918b7c9afea7c744b16d2be8.tar.bz2
abslibre-be7bcd5b4dc84932918b7c9afea7c744b16d2be8.zip
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/python-lirc/PKGBUILD')
-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
+}
+