updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / thinkfinger-svn / PKGBUILD
blob7ad67fa503da071e0de32ddf77404d1c7eb61ab4
1 # Contributor: Christoph Siegenthaler <csi@gmx.ch>
2 pkgname=thinkfinger-svn
3 pkgver=88
4 pkgrel=3
5 pkgdesc="ThinkFinger is a driver for the SGS Thomson Microelectronics fingerprint reader found in most IBM/Lenovo ThinkPads"
6 url="http://thinkfinger.sourceforge.net/"
7 arch=('i686')
8 license=("GPL")
9 depends=('pam' 'libusb')
10 makedepends=('subversion' 'automake' 'autoconf')
11 conflicts=('thinkfinger')
12 provides=('thinkfinger')
13 source=('')
14 options=('nolibtool')
15 md5sums=('')
17 _svntrunk=https://thinkfinger.svn.sourceforge.net/svnroot/thinkfinger
18 _svnmod=thinkfinger
20 build() {
21         mkdir -p $startdir/pkg/etc/pam_thinkfinger
22         cd $startdir/src
23         
24         svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25 #       svn co $_svntrunk --config-dir ./ $_svnmod
26         msg "SVN checkout done or server timeout"
27         msg "Starting make..."
28         
29         cp -r $_svnmod $_svnmod-build
30         cd $_svnmod-build
32         ./autogen.sh
33         ./configure --prefix=/usr --with-securedir=/lib/security --with-birdir=/etc/pam_thinkfinger
34         make || return 1
35         make DESTDIR=$startdir/pkg install