updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / fprintd-git / PKGBUILD
blob28d7837d0b23a256e64d7f73fd355f60b7239a92
1 # Maintainer: Thomas Krug <phragment@lavabit.com>
3 pkgname=fprintd-git
4 pkgver=20111113
5 pkgrel=3
6 pkgdesc="fprintd is a D-Bus daemon that offers libfprint functionality over the D-Bus interprocess communication bus."
7 arch=(i686 x86_64)
8 url="http://www.freedesktop.org/wiki/Software/fprint/fprintd"
9 license=(GPL)
10 depends=(libfprint-git dbus-glib polkit dbus-glib)
11 makedepends=(intltool gtk-doc git)
12 groups=(fprint-git)
13 provides=(fprint)
14 options=(!libtool)
16 _gitroot="git://anongit.freedesktop.org/libfprint/fprintd"
17 _gitname="fprintd"
19 build() {
20         cd ${srcdir}
21         msg "Connecting to GIT server...."
23         if [ -d $_gitname ] ; then
24                 cd $_gitname && git pull origin
25                 msg "The local files are updated."
26         else
27                 git clone $_gitroot
28         fi
30         msg "GIT checkout done or server timeout"
31         msg "Starting make..."
33         rm -rf "$srcdir/$_gitname-build"
34   git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35         cd ${srcdir}/$_gitname-build
38         ./autogen.sh --prefix=/usr \
39                --sysconfdir=/etc \
40                --libexecdir=/usr/lib \
41                --disable-static
43         make
46 package() {
47   cd "$srcdir/$_gitname-build"
49   make DESTDIR="$pkgdir" pammoddir="/lib/security" install
52 # vim:set ts=2 sw=2 et: