summaryrefslogtreecommitdiff
path: root/extra/fprintd/PKGBUILD
blob: 64fbe491852c43e23f9acf856b6627095f40d6d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id: PKGBUILD 170104 2012-11-01 20:54:41Z heftig $
# Maintainer:
# Contributor: Nikolay Rysev <mad.f3ka@gmail.com>

pkgname=fprintd
pkgver=0.4.1
pkgrel=5
pkgdesc="D-Bus service to access fingerprint readers"
arch=(i686 x86_64 mips64el)
url="http://www.freedesktop.org/wiki/Software/fprint/fprintd"
license=(GPL)
depends=(libfprint dbus-glib polkit)
makedepends=(intltool gtk-doc)
groups=(fprint)
options=(!libtool)
backup=(etc/pam.d/fingerprint-auth)
_snap=V_${pkgver//./_}
source=(http://cgit.freedesktop.org/libfprint/$pkgname/snapshot/$_snap.tar.bz2
        fingerprint-auth)
md5sums=('58fcac035c181dce8f49c374181aa2ae'
         '8c7da9ccd28ec87dd2572ddfb85d563e')

build() {
  cd $_snap
  ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
    --disable-static
  make
}

package() {
  cd $_snap
  make DESTDIR="$pkgdir" pammoddir="/usr/lib/security" install
  install -Dm644 ../fingerprint-auth "$pkgdir/etc/pam.d/fingerprint-auth"
}