From 47e8cfeaaca88f26d78ffae21a7fd5eb1fa682cf Mon Sep 17 00:00:00 2001 From: aurelien Date: Thu, 6 Feb 2014 16:38:54 +0100 Subject: + python-lirc --- pcr/python-lirc/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pcr/python-lirc/PKGBUILD (limited to 'pcr/python-lirc/PKGBUILD') 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 +# Maintainer : Parabola Aurélien Desbrières + +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 +} + -- cgit v1.2.3