blob: efe6d853cb2ccd766d8b5059ca7f1e2e2f6d810d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
}
|