diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 12 insertions, 4 deletions
@@ -1,13 +1,15 @@ pkgbase = tuhi-git pkgdesc = DBus daemon to access Wacom SmartPad devices pkgver = 20190503 - pkgrel = 1 + pkgrel = 2 url = https://github.com/tuhiproject/tuhi arch = any license = GPL2 makedepends = git makedepends = python-setuptools + depends = python depends = python-svgwrite + depends = python-xdg source = git+https://github.com/tuhiproject/tuhi sha256sums = SKIP @@ -1,11 +1,12 @@ # Maintainer: Jose Riha <jose1711 gmail com> +# Maintainer: Christian Muehlhaeuser <muesli at gmail dot com> pkgname=tuhi-git pkgver=20190503 -pkgrel=1 +pkgrel=2 pkgdesc="DBus daemon to access Wacom SmartPad devices" arch=('any') -depends=(python-svgwrite) +depends=('python' 'python-svgwrite' 'python-xdg') makedepends=('git' 'python-setuptools') url="https://github.com/tuhiproject/tuhi" license=('GPL2') @@ -17,9 +18,14 @@ pkgver() { git log -1 --format="%cd" --date=short | sed "s|-||g" } +build() { + cd ${pkgname%-git} + python setup.py build +} + package() { cd ${pkgname%-git} - python setup.py install --root="$pkgdir" --optimize=1 + python setup.py install --root="$pkgdir" --optimize=1 --skip-build install -Dm755 tools/tuhi-live.py "${pkgdir}/usr/bin/tuhi-live.py" install -Dm755 tools/tuhi-kete-sandboxed.py "${pkgdir}/usr/bin/tuhi-kete-sandboxed.py" install -Dm755 tools/parse_log.py "${pkgdir}/usr/bin/parse_log.py" |