mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
# $Id: PKGBUILD 22511 2008-12-26 22:55:21Z francois $
|
|
# Maintainer: François Charette <francois.archlinux.org>
|
|
# Contributor: Damir Perisa <damir.archlinux.org>, Björn Martensen <bjoern.martensen@gmail.com>
|
|
|
|
pkgname=thinkfinger
|
|
pkgver=0.3
|
|
pkgrel=2
|
|
pkgdesc="ThinkFinger is a driver for the SGS Thomson Microelectronics fingerprint reader found in most IBM/Lenovo ThinkPads"
|
|
url="http://thinkfinger.sourceforge.net/"
|
|
arch=('i686' 'x86_64')
|
|
license=("GPL")
|
|
depends=('pam' 'libusb')
|
|
install=thinkfinger.install
|
|
options=('!libtool')
|
|
source=(http://downloads.sourceforge.net/thinkfinger/$pkgname-$pkgver.tar.gz thinkfinger-uinput-hack.patch)
|
|
md5sums=('588565233bcbea5ff0a7f5314361c380'
|
|
'71dc334282d19e6db4f6254542ba563c')
|
|
|
|
build() {
|
|
# create dir to store fingerprints
|
|
mkdir -p $pkgdir/etc/pam_thinkfinger
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
|
# Patch from Ubuntu: see http://bugs.archlinux.org/task/12580
|
|
patch -p0 < ../thinkfinger-uinput-hack.patch || return 1
|
|
./configure --prefix=/usr \
|
|
--with-securedir=/lib/security \
|
|
--with-birdir=/etc/pam_thinkfinger
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install
|
|
}
|
|
|