summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuliette Monsel2017-07-14 13:35:54 +0200
committerJuliette Monsel2017-07-14 13:35:54 +0200
commitd06b1d47dc17b946ed40837ccb44324b5ec43710 (patch)
treec20d7e4453d8f5a01e2d808bb1796057131550ad
downloadaur-d06b1d47dc17b946ed40837ccb44324b5ec43710.tar.gz
Initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD24
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bd9679b326b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = python-pynput
+ pkgdesc = Python library to monitor and control user input devices
+ pkgver = 1.3.5
+ pkgrel = 1
+ url = https://github.com/moses-palmer/pynput
+ arch = any
+ license = LGPL3
+ source = python-pynput-1.3.5.tar.gz::https://github.com/moses-palmer/pynput/archive/v1.3.5.tar.gz
+ sha512sums = f9d8e56d12d8ad341b19898809e4408a25aa3e502b03c132988f6539231fe1081a7c77d2bb7cee15daa90da1202cd59f1eb484ff624dcfc85759936dd924d239
+
+pkgname = python-pynput
+ depends = python-xlib
+ depends = python-six
+
+pkgname = python2-pynput
+ depends = python2-xlib
+ depends = python2-six
+ depends = python2-enum34
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..96604931527
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Juliette Monsel <j_4321 at protonmail dot com>
+pkgname=('python-pynput' 'python2-pynput')
+pkgver=1.3.5
+pkgrel=1
+pkgdesc="Python library to monitor and control user input devices"
+arch=('any')
+url="https://github.com/moses-palmer/pynput"
+license=('LGPL3')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/moses-palmer/pynput/archive/v${pkgver}.tar.gz")
+sha512sums=('f9d8e56d12d8ad341b19898809e4408a25aa3e502b03c132988f6539231fe1081a7c77d2bb7cee15daa90da1202cd59f1eb484ff624dcfc85759936dd924d239')
+
+package_python-pynput() {
+ makedepends=('python-setuptools' 'python-sphinx')
+ depends=('python-xlib' 'python-six')
+ cd "$srcdir/pynput-${pkgver}"
+ python setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1;
+}
+
+package_python2-pynput() {
+ makedepends=('python2-setuptools' 'python2-sphinx')
+ depends=('python2-xlib' 'python2-six' 'python2-enum34')
+ cd "$srcdir/pynput-${pkgver}"
+ python2 setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1;
+}