PKGBUILDs/extra/libfprint/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
864 B
Bash

# $Id: PKGBUILD 26141 2009-02-03 03:15:47Z eric $
# Maintainer: Thomas Baechler <thomas@archlinux.org>
pkgname=libfprint
pkgver=0.0.6
pkgrel=3
pkgdesc="library for fingerprint scanner support in applications"
url="http://reactivated.net/fprint/wiki/Main_Page"
license=('LGPL')
groups=('fprint')
depends=('libusb' 'imagemagick>=6.4.8.10')
arch=('i686' 'x86_64')
install=fprint.install
source=(http://downloads.sourceforge.net/sourceforge/fprint/$pkgname-$pkgver.tar.bz2
50-fprint.rules)
md5sums=('4f47b46021b186488b60aaa97f90fe43'
'2c4021484509498fb17bdbe0b6d85ebf')
options=(!libtool)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr #--enable-debug-log
make || return 1
make DESTDIR=$startdir/pkg install || return 1
install -D -m644 $startdir/src/50-fprint.rules $startdir/pkg/etc/udev/rules.d/70-fprint.rules
}