blob: 2b89f8fcfcefc5e9d39ff47e68ec9f0755e4bf8c (
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
|
# Maintainer: nezu <nezu@nezu.cc>
# Contributor: Pablo Arteaga <pablo at pabloarteaga (dot) com>
#
# This is a modified version of the libfprint-git PKGBUILD file on the AUR
pkgname=libfprint-tod-git
_pkgdirname=libfprint
pkgver=1.94.7+tod1
pkgrel=1
pkgdesc="Library for fingerprint readers - TOD version"
arch=(x86_64)
url="https://fprint.freedesktop.org/"
license=(LGPL)
depends=('libgusb>=0.3.0' nss pixman libgudev)
makedepends=(git glib2-devel gobject-introspection gtk-doc 'meson>=0.49.0')
checkdepends=(python python-cairo python-gobject 'umockdev>=0.13.2')
optdepends=()
# Provide libfprint for compatibility with fprintd and also provide libfprint-tod for tod-style-only drivers
provides=(libfprint libfprint-tod libfprint-2.so libfprint-2-tod.so)
conflicts=(libfprint)
groups=(fprint)
source=("git+https://gitlab.freedesktop.org/3v1n0/libfprint.git#branch=tod")
sha256sums=('SKIP')
pkgver() {
cd $_pkgdirname
git describe --tags | sed 's/^V_\|^v//;s/_/./g;s/-/.r/;s/-/./'
}
prepare() {
cd $_pkgdirname
}
build() {
arch-meson $_pkgdirname build
ninja -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
|