diff options
Diffstat (limited to 'extra/libfprint/PKGBUILD')
-rw-r--r-- | extra/libfprint/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/libfprint/PKGBUILD b/extra/libfprint/PKGBUILD new file mode 100644 index 000000000..e86ec45dc --- /dev/null +++ b/extra/libfprint/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 142461 2011-11-10 09:30:27Z heftig $ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Contributor: Thomas Baechler <thomas@archlinux.org> + +pkgname=libfprint +pkgver=0.4.0 +pkgrel=1 +pkgdesc="Library for fingerprint readers" +arch=(i686 x86_64) +url="http://www.freedesktop.org/wiki/Software/fprint/libfprint" +license=(LGPL) +depends=(libusb nss gdk-pixbuf2) +groups=(fprint) +options=(!libtool !emptydirs) +_snap=$pkgname-48ec64f68330452b011d14be67653f1d48fb1405 +source=(http://cgit.freedesktop.org/libfprint/$pkgname/snapshot/$_snap.tar.bz2) +md5sums=('858a0f0d7abd21ac494f9bec904dc156') + +build() { + cd "$srcdir/$_snap" + ./autogen.sh --prefix=/usr --sysconfdir=/etc --disable-static \ + --disable-examples-build --disable-x11-examples-build + make +} + +package() { + cd "$srcdir/$_snap" + make DESTDIR="$pkgdir" install + + mkdir -p "$pkgdir/lib/udev/rules.d" + mv "$pkgdir"/etc/udev/rules.d/* "$pkgdir/lib/udev/rules.d/" +} |