summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMatthew Murray2020-07-13 17:40:52 +0100
committerMatthew Murray2020-07-13 17:40:52 +0100
commit3080cc08ddf0a138beb7c36a89e48d838c9f0550 (patch)
treeaffffad3f43b8ece930874d63ac4cf20b2bceeaa /PKGBUILD
parentcfe85afc046d7ff65732360c0ba35205071fca16 (diff)
downloadaur-3080cc08ddf0a138beb7c36a89e48d838c9f0550.tar.gz
Update to 0.7
Use the included udev and systemd service.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index edd9a0c89c9..9ac9b9925db 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Matthew Murray <matt@mattmurr.xyz>
pkgname=python-validity
-pkgver=0.5
-pkgrel=2
+pkgver=0.7
+pkgrel=1
pkgdesc="Validity fingerprint sensor driver"
arch=(any)
license=(MIT)
@@ -11,10 +11,8 @@ makedepends=(python-setuptools)
conflicts=($pkgname)
provides=($pkgname)
url="https://github.com/uunicorn/${pkgname}"
-source=("${url}/archive/${pkgver}.tar.gz"
- python-validity.service)
-md5sums=('31e74cf48b7a2592eb6b1bcae3c2eb78'
- '41bda3076126b2465eb3cc6dafe14385')
+source=("${url}/archive/${pkgver}.tar.gz")
+md5sums=('9a327e7ff6cd55720d2cf62fa6d86b6b')
build() {
cd $srcdir/$pkgname-$pkgver
@@ -24,8 +22,12 @@ build() {
package() {
cd $srcdir/$pkgname-$pkgver
python setup.py install --prefix=/usr --root $pkgdir || return 1
- install -D -m 644 $srcdir/python-validity.service \
- $pkgdir/usr/lib/systemd/system/python-validity.service
+
+ install -D -m 644 debian/python3-validity.service \
+ $pkgdir/usr/lib/systemd/system/python3-validity.service
+
+ install -D -m 644 debian/python3-validity.udev \
+ $pkgdir/usr/lib/udev/rules.d/60-python-validity.rules
}
# vim:set ts=2 sw=2 et: