summaryrefslogtreecommitdiff
path: root/pcr/python-evdev
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-27 15:35:33 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-28 18:37:20 -0300
commit9ee87d27299aa5ed55a3183bc6200547a2e19e35 (patch)
tree6ac6da1c1caaffeed4c62d4cc91e10aa05b8e55e /pcr/python-evdev
parent4258113a2c6412a40729ad745b77adb2289f28b9 (diff)
downloadabslibre-9ee87d27299aa5ed55a3183bc6200547a2e19e35.tar.gz
abslibre-9ee87d27299aa5ed55a3183bc6200547a2e19e35.tar.bz2
abslibre-9ee87d27299aa5ed55a3183bc6200547a2e19e35.zip
add python-evdev to [pcr] repo
Diffstat (limited to 'pcr/python-evdev')
-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
+}