Date: Wednesday, November 9, 2016 @ 20:49:11 Author: heftig Revision: 280265
0.7.0-1 Modified: fprintd/trunk/PKGBUILD ----------+ PKGBUILD | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-11-09 20:44:56 UTC (rev 280264) +++ PKGBUILD 2016-11-09 20:49:11 UTC (rev 280265) @@ -1,33 +1,40 @@ # $Id$ -# Maintainer: +# Maintainer: Jan Alexander Steffens (heftig) <[email protected]> # Contributor: Nikolay Rysev <[email protected]> pkgname=fprintd -pkgver=0.6.0 +pkgver=0.7.0 pkgrel=1 pkgdesc="D-Bus service to access fingerprint readers" arch=(i686 x86_64) -url="http://www.freedesktop.org/wiki/Software/fprint/fprintd" +url="https://www.freedesktop.org/wiki/Software/fprint/fprintd" license=(GPL) depends=(libfprint dbus-glib polkit) -makedepends=(intltool gtk-doc) +makedepends=(intltool gtk-doc gnome-common git) groups=(fprint) -_snap=V_${pkgver//./_} -source=(http://people.freedesktop.org/~hadess/$pkgname-$pkgver.tar.xz) -md5sums=('ca61f22513a25020bea7bb96d4322c9d') +_commit=eabeaa258efd8aa8c69cb906952e7b95c777940f # tags/V_0_7_0^0 +source=("git://anongit.freedesktop.org/libfprint/fprintd#commit=$_commit") +sha256sums=('SKIP') +pkgver() { + cd $pkgname + git describe --tags | sed 's/^V_//;s/_/./g;s/-/+/g' +} + prepare() { - cd $pkgname-$pkgver + cd $pkgname + NOCONFIGURE=1 ./autogen.sh } build() { - cd $pkgname-$pkgver + cd $pkgname ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \ - --disable-static + --disable-static --enable-gtk-doc + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" pammoddir="/usr/lib/security" install + cd $pkgname + make DESTDIR="$pkgdir" install }
