# Maintainer: Ivan Shapovalov # Contributor: Sven Greiner # Contributor: vldmr # Contributor: Thomas Krug # Contributor: Matthew Bauer pkgname=libfprint-git epoch=1 pkgver=0.6.0.r43.g5a7e6e0 pkgrel=1 pkgdesc="Library for fingerprint readers (patched for VFS495 and other Validity sensors using a proprietary daemon)" arch=(i686 x86_64) url="http://www.freedesktop.org/wiki/Software/fprint/libfprint" license=(LGPL) depends=(libusb nss pixman) makedepends=(git) optdepends=("vfs495-daemon: proprietary daemon for VFS495 and other Validity sensors") groups=(fprint-git) provides=(libfprint) conflicts=(libfprint) source=("git://anongit.freedesktop.org/libfprint/libfprint.git" "validity-sensor.patch") md5sums=('SKIP' 'd6637c852e9628257969f0763f2bf319') 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 apply -3 "$srcdir/validity-sensor.patch" NOCONFIGURE=1 ./autogen.sh } build() { cd libfprint ./configure --prefix=/usr \ --sysconfdir=/etc \ --disable-static make } package() { cd libfprint make DESTDIR="$pkgdir" install }