summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Murray2020-07-12 21:54:36 +0100
committerMatthew Murray2020-07-12 22:46:04 +0100
commited16dc71a2d3347b5232d537714c188d52c0b58a (patch)
tree92551b3038299b3a2d87fa426e38a2a1e5372e70
parent7588afb663509ad2f6d84b2d5d463c37792f7000 (diff)
downloadaur-ed16dc71a2d3347b5232d537714c188d52c0b58a.tar.gz
Initial commit
-rw-r--r--.SRCINFO6
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD11
3 files changed, 7 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c172dde9430..f120a73e254 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-validity
pkgdesc = Validity fingerprint sensor driver
- pkgver = r101.1c98a45
+ pkgver = 0.4
pkgrel = 1
url = https://github.com/uunicorn/python-validity
arch = any
@@ -16,9 +16,9 @@ pkgbase = python-validity
depends = fprintd-clients
provides = python-validity
conflicts = python-validity
- source = git+https://github.com/uunicorn/python-validity.git#branch=master
+ source = https://github.com/uunicorn/python-validity/archive/0.4.tar.gz
source = python-validity.service
- md5sums = SKIP
+ md5sums = 76c176a317946f0fee6a7c7214607695
md5sums = 41bda3076126b2465eb3cc6dafe14385
pkgname = python-validity
diff --git a/.gitignore b/.gitignore
index 4e49f6adc14..58390d712a4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ python-validity/
pkg/
src/
*.xz
+*.gz
diff --git a/PKGBUILD b/PKGBUILD
index 2e7733ea4aa..3e8dac37b12 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Matthew Murray <matt@mattmurr.xyz>
pkgname=python-validity
-pkgver=r101.1c98a45
+pkgver=0.4
pkgrel=1
pkgdesc="Validity fingerprint sensor driver"
arch=(any)
@@ -11,16 +11,11 @@ makedepends=(python-setuptools)
conflicts=($pkgname)
provides=($pkgname)
url="https://github.com/uunicorn/${pkgname}"
-source=("git+${url}.git#branch=master"
+source=("${url}/archive/${pkgver}.tar.gz"
python-validity.service)
-md5sums=('SKIP'
+md5sums=('76c176a317946f0fee6a7c7214607695'
'41bda3076126b2465eb3cc6dafe14385')
-pkgver() {
- cd $srcdir/$pkgname
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
-
build() {
cd $srcdir/$pkgname
python setup.py build