summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDavide Depau2018-02-20 15:42:16 +0100
committerDavide Depau2018-02-20 15:42:16 +0100
commit1ada9799021e18776036252fd565fb14fb566036 (patch)
tree057c7ef3062d0dbb656c9c4d16a1bf2f12ac7f15 /PKGBUILD
downloadaur-1ada9799021e18776036252fd565fb14fb566036.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2e92f097e4e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Davide Depau <davide@depau.eu>
+# Contributor: Ivan Shapovalov <intelfx@intelfx.name>
+# Contributor: Sven Greiner <sven@sammyshp.de>
+# Contributor: vldmr <vldmr@lavabit.com>
+# Contributor: Thomas Krug <phragment@lavabit.com>
+# Contributor: Matthew Bauer <mjbauer95@gmail.com>
+
+pkgname=libfprint-vfs0090-git
+epoch=1
+pkgver=0.7.0.r87.g877aba1
+pkgrel=1
+pkgdesc="Library for fingerprint readers (includes WIP libre vfs0090 driver)"
+arch=(i686 x86_64)
+url="https://github.com/nmikhailov/Validity90"
+license=(LGPL)
+depends=(libusb nss pixman gnutls openssl)
+makedepends=(git)
+optdepends=("fprintd: D-Bus daemon that manages fingerprint readers")
+groups=(fprint-git)
+provides=(libfprint)
+conflicts=(libfprint)
+source=("git+https://github.com/3v1n0/libfprint.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd libfprint
+ git describe --long --tags 2>/dev/null | sed 's/^V_//;s/\([0-9]*-g\)/r\1/;s/[-_]/./g'
+}
+
+prepare() {
+ cd libfprint
+ git checkout vfs0090
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd libfprint
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-static
+ make
+}
+
+package() {
+ cd libfprint
+
+ make DESTDIR="$pkgdir" install
+}