# Maintainer: Jan Alexander Steffens (heftig) # Contributor: Nikolay Rysev # Modified for vfs_proprietary by Daniel Kamil Kozar # Modified for libfprint2 by Stephen Bird pkgname=fprintd-libfprint2 pkgname_=fprintd pkgver=0.9.0+18+g5043ef3 pkgrel=1 pkgdesc="D-Bus service to access fingerprint readers, modified to use libfprint2" arch=(x86_64) url="https://www.freedesktop.org/wiki/Software/fprint/fprintd" license=(GPL) depends=(dbus-glib polkit libfprint-git) conflicts=(fprintd) makedepends=(intltool gtk-doc gnome-common git python-dbusmock) groups=(fprint) _commit=5043ef3c7d193adf103f356dbb0eeafbef0bc8c9 source=( "git+https://gitlab.freedesktop.org/libfprint/fprintd.git#commit=$_commit" 'disable-systemd-protection.patch' ) sha256sums=( 'SKIP' '4854d32d6579de31fd59b4df02f6a29db2e266dedfe9edda13bedcda1b083be1' ) pkgver() { cd $pkgname_ git describe --tags | sed 's/^V_//;s/_/./g;s/-/+/g' } prepare() { cd $pkgname_ patch -p1 -i "${srcdir}/disable-systemd-protection.patch" NOCONFIGURE=1 ./autogen.sh } build() { cd $pkgname_ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ --disable-static \ --enable-gtk-doc sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } package() { cd $pkgname_ make DESTDIR="$pkgdir" dbus_confdir=/usr/share/dbus-1/system.d install install -d -m 755 "$pkgdir/var/lib/fprint" }