summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJose Riha2019-06-11 16:55:55 +0200
committerJose Riha2019-06-11 16:55:55 +0200
commite5b774f978ee307b043bb076d4ad8806bfb1fd8a (patch)
tree7901c937ac118ead4dde50e9d4420d1c17cbd536 /PKGBUILD
parentb66d0f829ed02bf1326326d8b4f865cc4b494f39 (diff)
parent592095c81280d4366e05684cf868dd6f9bcfc9c5 (diff)
downloadaur-e5b774f978ee307b043bb076d4ad8806bfb1fd8a.tar.gz
Merge branch 'master' of ssh://aur4.archlinux.org/tuhi-git
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bca8bc2fdee..21ddc928acd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,12 @@
# Maintainer: Jose Riha <jose1711 gmail com>
+# Maintainer: Christian Muehlhaeuser <muesli at gmail dot com>
pkgname=tuhi-git
pkgver=20190608
pkgrel=1
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/kete.py "${pkgdir}/usr/bin/kete.py"