summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/python-evdev/PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/pcr/python-evdev/PKGBUILD b/pcr/python-evdev/PKGBUILD
new file mode 100644
index 000000000..10bdcf411
--- /dev/null
+++ b/pcr/python-evdev/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+
+pkgname=python-evdev
+pkgver=0.5.0
+pkgrel=1
+pkgdesc="Python bindings evdev input devices"
+arch=('i686' 'x86_64')
+url="http://python-evdev.readthedocs.org/"
+license=('BSD3')
+depends=('python')
+source=("https://github.com/gvalkov/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('8340a6881d0ebe175dce412edc78dd296cc0e799265c1b6c7200891c6c7271d9')
+
+package () {
+ cd $pkgname-$pkgver
+
+ python setup.py install --prefix=/usr --root=$pkgdir
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}