1 # Contributor: Matthew Bauer <mjbauer95@gmail.com>
2 # Contributor: Ondřej Konečný <konecny.ondrej@seznam.cz>
7 pkgdesc="Git repo of libfprint"
8 url="http://reactivated.net/fprint/wiki/Pam_fprint"
12 depends=('libusb1' 'imagemagick' 'libtool')
13 conflicts=('pam_frint' 'pam_frint-nightly' 'pam_fprint-unstable')
14 provides=('pam_frint' 'pam_frint-nightly' 'pam_fprint-unstable')
17 _gitroot="git://github.com/dsd/pam_fprint.git"
22 msg "Connecting to github.com GIT server...."
24 if [ -d ${srcdir}/$_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 git clone $_gitname $_gitname-build
35 cd ${srcdir}/$_gitname-build
37 ./autogen.sh --prefix=/usr
39 ./configure --prefix=/usr
42 make DESTDIR="$pkgdir" install