From 851376cd7720e1f9b35e0a7c26bfd66399f0c4d3 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 3 Dec 2011 23:14:41 +0000 Subject: Sat Dec 3 23:14:41 UTC 2011 --- extra/thinkfinger/PKGBUILD | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) (limited to 'extra/thinkfinger/PKGBUILD') diff --git a/extra/thinkfinger/PKGBUILD b/extra/thinkfinger/PKGBUILD index bf6c8c9bc..04d7b5b2d 100644 --- a/extra/thinkfinger/PKGBUILD +++ b/extra/thinkfinger/PKGBUILD @@ -1,27 +1,35 @@ -# $Id: PKGBUILD 101457 2010-11-29 10:02:41Z allan $ -# Maintainer: François Charette +# $Id: PKGBUILD 144027 2011-12-02 07:42:30Z andrea $ +# Maintainer: +# Contributor: François Charette # Contributor: Damir Perisa # Contributor: Björn Martensen pkgname=thinkfinger pkgver=0.3 -pkgrel=4 -pkgdesc="ThinkFinger is a driver for the SGS Thomson Microelectronics fingerprint reader found in most IBM/Lenovo ThinkPads" +pkgrel=5 +pkgdesc="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-compat') install=thinkfinger.install -options=('!libtool') -source=(http://downloads.sourceforge.net/thinkfinger/$pkgname-$pkgver.tar.gz thinkfinger-uinput-hack.patch) +options=('!libtool' 'emptydirs') +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" + 'thinkfinger-uinput-hack.patch' + 'gcc46.patch') md5sums=('588565233bcbea5ff0a7f5314361c380' - '71dc334282d19e6db4f6254542ba563c') + '71dc334282d19e6db4f6254542ba563c' + '93c80f342329a5bd40f5f324fe670225') build() { cd $srcdir/$pkgname-$pkgver + # Patch from Ubuntu: see http://bugs.archlinux.org/task/12580 - patch -p0 < ../thinkfinger-uinput-hack.patch - ./configure --prefix=/usr \ + patch -p0 -i "${srcdir}"/thinkfinger-uinput-hack.patch + + patch -p1 -i "${srcdir}"/gcc46.patch + + ./configure --prefix=/usr \ --with-securedir=/lib/security \ --with-birdir=/etc/pam_thinkfinger make @@ -35,4 +43,3 @@ package() { make DESTDIR=$pkgdir install } - -- cgit v1.2.3-54-g00ecf