summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 12 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b34662a4ff6..e8d01bffdf5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index f55291adde7..b6bf969998e 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=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"