1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
6 pkgdesc="Python bindings for the Linux input subsystem"
7 url="https://python-evdev.readthedocs.io/en/latest/"
12 _commit=5adc2abf1ec8a02c05c80cb1b3e34ba1d4237803 # tags/v1.4.0^0
13 source=("git+https://github.com/gvalkov/python-evdev#commit=$_commit")
18 git describe --tags | sed 's/^v//;s/-/+/g'
28 python setup.py install --root="$pkgdir" --optimize=1 --skip-build
29 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE