diff options
author | Grey Christoforo | 2018-11-27 22:37:00 +0000 |
---|---|---|
committer | Grey Christoforo | 2018-11-27 22:37:00 +0000 |
commit | d9d50c416a2c79fdc941529e66cdaf5af60b4c43 (patch) | |
tree | d2b14107ec657b4a9db9837718b51141e060d562 | |
download | aur-d9d50c416a2c79fdc941529e66cdaf5af60b4c43.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 28 |
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..219060d3c52a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-sneakysnek-git + pkgdesc = Dead simple cross-platform keyboard & mouse global input capture solution + pkgver = r11.8c760c5 + pkgrel = 1 + url = https://github.com/greyltc/sneakysnek + arch = any + license = MIT + makedepends = python-setuptools + depends = python + depends = python-xlib + source = git://github.com/greyltc/sneakysnek.git + md5sums = SKIP + +pkgname = python-sneakysnek-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..a3e3cfff1398 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +sneakysnek/ +pkg/ +src/ +*.tar.gz +*.tar.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..efe6d853cb2c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +pkgname=python-sneakysnek-git +_module='sneakysnek' +pkgver=r11.8c760c5 +pkgrel=1 +pkgdesc="Dead simple cross-platform keyboard & mouse global input capture solution" +url="https://github.com/greyltc/sneakysnek" +depends=(python python-xlib) +makedepends=(python-setuptools) +license=('MIT') +arch=('any') +source=("git://github.com/greyltc/sneakysnek.git") +md5sums=("SKIP") + +pkgver() { + cd "$srcdir/$_module" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "${srcdir}/${_module}" + python setup.py build +} + +package() { + cd "${srcdir}/${_module}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} + |