summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Murray2020-07-13 17:40:52 +0100
committerMatthew Murray2020-07-13 17:40:52 +0100
commit3080cc08ddf0a138beb7c36a89e48d838c9f0550 (patch)
treeaffffad3f43b8ece930874d63ac4cf20b2bceeaa
parentcfe85afc046d7ff65732360c0ba35205071fca16 (diff)
downloadaur-3080cc08ddf0a138beb7c36a89e48d838c9f0550.tar.gz
Update to 0.7
Use the included udev and systemd service.
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD18
-rw-r--r--python-validity.service10
3 files changed, 14 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 24e4be726ef..4505d1c459b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-validity
pkgdesc = Validity fingerprint sensor driver
- pkgver = 0.5
- pkgrel = 2
+ pkgver = 0.7
+ pkgrel = 1
url = https://github.com/uunicorn/python-validity
arch = any
license = MIT
@@ -16,10 +16,8 @@ pkgbase = python-validity
depends = fprintd-clients
provides = python-validity
conflicts = python-validity
- source = https://github.com/uunicorn/python-validity/archive/0.5.tar.gz
- source = python-validity.service
- md5sums = 31e74cf48b7a2592eb6b1bcae3c2eb78
- md5sums = 41bda3076126b2465eb3cc6dafe14385
+ source = https://github.com/uunicorn/python-validity/archive/0.7.tar.gz
+ md5sums = 9a327e7ff6cd55720d2cf62fa6d86b6b
pkgname = python-validity
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:
diff --git a/python-validity.service b/python-validity.service
deleted file mode 100644
index 82a1cefbfd9..00000000000
--- a/python-validity.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit]
-Description=python-validity dbus service
-
-[Service]
-Type=simple
-ExecStart=/usr/lib/python-validity/dbus-service
-Restart=always
-
-[Install]
-WantedBy=multi-user.target