diff options
author | Davide Depau | 2019-01-15 21:58:56 +0100 |
---|---|---|
committer | Davide Depau | 2019-01-15 21:58:56 +0100 |
commit | 31401c3a11168ad5631323cd3edf1991d9d293d3 (patch) | |
tree | 45b3c1cb8c472b5f040b0fb6dae02c273ebb84ad | |
parent | 561da6caa9af6ae64033bdea1430ee707fd205e7 (diff) | |
download | aur-31401c3a11168ad5631323cd3edf1991d9d293d3.tar.gz |
Update to Meson build and fix some minor details
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 14 insertions, 27 deletions
@@ -1,14 +1,16 @@ pkgbase = libfprint-vfs0090-git pkgdesc = Library for fingerprint readers (includes WIP libre vfs0090 driver) - pkgver = 0.7.0.r87.g877aba1 + pkgver = 0.99.0.r91.g2e2e382 pkgrel = 1 epoch = 1 - url = https://github.com/nmikhailov/Validity90 + url = https://github.com/3v1n0/libfprint arch = i686 arch = x86_64 groups = fprint-git license = LGPL makedepends = git + makedepends = meson + makedepends = gtk-doc depends = libusb depends = nss depends = pixman @@ -1,20 +1,16 @@ # Maintainer: Davide Depau <davide@depau.eu> -# Contributor: Ivan Shapovalov <intelfx@intelfx.name> -# Contributor: Sven Greiner <sven@sammyshp.de> -# Contributor: vldmr <vldmr@lavabit.com> -# Contributor: Thomas Krug <phragment@lavabit.com> -# Contributor: Matthew Bauer <mjbauer95@gmail.com> +_pkgname=libfprint pkgname=libfprint-vfs0090-git epoch=1 -pkgver=0.7.0.r87.g877aba1 +pkgver=0.99.0.r91.g2e2e382 pkgrel=1 pkgdesc="Library for fingerprint readers (includes WIP libre vfs0090 driver)" arch=(i686 x86_64) -url="https://github.com/nmikhailov/Validity90" +url="https://github.com/3v1n0/libfprint" license=(LGPL) depends=(libusb nss pixman gnutls openssl) -makedepends=(git) +makedepends=(git meson gtk-doc) optdepends=("fprintd: D-Bus daemon that manages fingerprint readers") groups=(fprint-git) provides=(libfprint) @@ -24,27 +20,16 @@ source=("git+https://github.com/3v1n0/libfprint.git") md5sums=('SKIP') pkgver() { - cd libfprint + cd "$srcdir/$_pkgname" git describe --long --tags 2>/dev/null | sed 's/^V_//;s/\([0-9]*-g\)/r\1/;s/[-_]/./g' } -prepare() { - cd libfprint - git checkout vfs0090 - NOCONFIGURE=1 ./autogen.sh -} - build() { - cd libfprint - - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --disable-static - make + cd "$srcdir" + arch-meson $_pkgname build -D x11-examples=false -D doc=false + ninja -C build } - package() { - cd libfprint - - make DESTDIR="$pkgdir" install + cd "$srcdir" + DESTDIR="$pkgdir" ninja -C build install } |