Date: Thursday, June 14, 2018 @ 12:29:54 Author: heftig Revision: 326966
0.8.1-1 Modified: libfprint/trunk/PKGBUILD ----------+ PKGBUILD | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-06-14 08:43:59 UTC (rev 326965) +++ PKGBUILD 2018-06-14 12:29:54 UTC (rev 326966) @@ -4,7 +4,7 @@ # Contributor: Thomas Baechler <[email protected]> pkgname=libfprint -pkgver=0.7.0 +pkgver=0.8.1 pkgrel=1 pkgdesc="Library for fingerprint readers" arch=(x86_64) @@ -11,9 +11,9 @@ url="https://www.freedesktop.org/wiki/Software/fprint/libfprint" license=(LGPL) depends=(libusb nss pixman glib2) -makedepends=(git) +makedepends=(git meson gtk-doc) groups=(fprint) -_commit=d82847a6b4bbd2864388f2bf8e6a2b9d1aed05c4 # tags/V_0_7_0^0 +_commit=6f6127cbb640a8549eb971aa73d6fe8543d3c40b # master~1 source=("git+https://anongit.freedesktop.org/git/libfprint/libfprint#commit=$_commit") sha256sums=('SKIP') @@ -24,17 +24,20 @@ prepare() { cd $pkgname - NOCONFIGURE=1 ./autogen.sh + # Fixup missing tag + git tag -f V_0_8_1 6f6127cbb640a8549eb971aa73d6fe8543d3c40b } build() { - cd $pkgname - ./configure --prefix=/usr --sysconfdir=/etc --disable-static - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make + arch-meson $pkgname build -D x11-examples=false + ninja -C build } +check() { + cd build + meson test +} + package() { - cd $pkgname - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" ninja -C build install }
