blob: 18dcd42114d7214f2610aff8aa3cb7006af49e3b (
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
|
# Maintainer: Davide Depau <davide@depau.eu>
_pkgname=libfprint
pkgname=libfprint-vfs0090-git
epoch=1
pkgver=1.90.r0.gb8e684e
pkgrel=1
pkgdesc="Library for fingerprint readers (includes libre vfs0090 driver)"
arch=(i686 x86_64)
url="https://github.com/3v1n0/libfprint"
license=(LGPL)
depends=(libusb nss pixman gnutls openssl)
makedepends=(git meson gtk-doc)
optdepends=("fprintd: D-Bus daemon that manages fingerprint readers")
groups=(fprint-git)
provides=(libfprint libfprint-2.so=2-64)
conflicts=(libfprint)
replaces=(libfprint-vfs0090)
source=("git+https://github.com/3v1n0/libfprint.git#branch=vfs0090")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long --tags 2>/dev/null | sed 's/^V_//;s/\([0-9]*-g\)/r\1/;s/[-_]/./g' \
| sed 's/0.90/1.90/g' # Quick fix until upstream updates the version number
}
build() {
cd "$srcdir"
arch-meson $_pkgname build -D x11-examples=false -D doc=false
ninja -C build
}
package() {
cd "$srcdir"
DESTDIR="$pkgdir" ninja -C build install
}
|