blob: 242f0f08a39bd4c3c3b0ac4e6a18f1f2da5f177f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Davide Depau <davide@depau.eu>
_pkgname='validity-sensors-tools'
pkgname="${_pkgname}-git"
pkgver=0.5.r27.g5ba2094
pkgrel=2
pkgdesc='Linux tool to flash and pair Validity fingerprint sensors 009x'
arch=('x86_64')
url='https://github.com/3v1n0/python-validity'
license=('unknown')
depends=(
'python-pycryptodome'
'python-pyusb'
'python-fastecdsa'
'innoextract'
'libusb'
'usbutils'
)
makedepends=('python-setuptools')
provides=("$_pkgname" "python-proto9x")
conflicts=("$_pkgname" "python-proto9x")
source=(
"$_pkgname::git+https://github.com/3v1n0/python-validity.git"
)
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$_pkgname"
python setup.py build
}
package() {
cd "$_pkgname"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|