summaryrefslogtreecommitdiff
path: root/extra/thinkfinger/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-03 23:14:41 +0000
committerroot <root@rshg054.dnsready.net>2011-12-03 23:14:41 +0000
commit851376cd7720e1f9b35e0a7c26bfd66399f0c4d3 (patch)
treef8579d1c934aa5c28308372bedc321628555a424 /extra/thinkfinger/PKGBUILD
parent8eed59114cbcf729b65f87d3f73530f6c8363d20 (diff)
Sat Dec 3 23:14:41 UTC 2011
Diffstat (limited to 'extra/thinkfinger/PKGBUILD')
-rw-r--r--extra/thinkfinger/PKGBUILD27
1 files changed, 17 insertions, 10 deletions
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 <francois.archlinux.org>
+# $Id: PKGBUILD 144027 2011-12-02 07:42:30Z andrea $
+# Maintainer:
+# Contributor: François Charette <francois.archlinux.org>
# Contributor: Damir Perisa <damir.archlinux.org>
# Contributor: Björn Martensen <bjoern.martensen@gmail.com>
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
}
-