summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlexander F. Rødseth2020-03-10 13:05:46 +0100
committerAlexander F. Rødseth2020-03-10 13:05:46 +0100
commitd7413a74591a23f78e6076f79abb198a23a32851 (patch)
tree466e104f62cbc58c9419f0f2c54a000730a27c96 /PKGBUILD
downloadaur-python-mouselog.tar.gz
Add package
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2200c01a7aa
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
+
+pkgname=python-mouselog
+pkgver=0.1.0
+pkgrel=1
+pkgdesc='Log mouse movement'
+arch=(any)
+url='https://github.com/xyproto/mouselog'
+license=(GPL2)
+depends=(python)
+makedepends=(git python-setuptools)
+# tag: 0.1.0
+source=("git+$url#commit=28eae03f7d813358d37b0b9224f5ae809dc359da")
+md5sums=('SKIP')
+
+build() {
+ cd mouselog
+ python setup.py build
+}
+
+package() {
+ cd mouselog
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# getver: github.com/xyproto/mouselog
+# vim: ts=2 sw=2 et: