diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..136d53a2ea37 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: William Belanger <echo d2lsbGlhbS5iZWxyQGdtYWlsLmNvbQ== | base64 -d> + +pkgname=retrolink-git +pkgver=0 +pkgrel=1 +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +pkgdesc="Seamless integration of frontend and emulators through gamepad hotkeys" +url="https://gitlab.com/william.belanger/${pkgname%-git}" +arch=("any") +license=("GPL3") +depends=("python" "python-setuptools" "python-pyqt5" "python-evdev" "xterm") +source=("git+https://gitlab.com/william.belanger/${pkgname%-git}.git") +md5sums=("SKIP") + +pkgver() +{ + cd "${pkgname%-git}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() +{ + cd "${pkgname%-git}" + python setup.py install --optimize="1" --root="$pkgdir" +} |