diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-05-15 16:02:07 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-05-15 16:02:26 +0300 |
commit | 1b49b02c4b752fccfe6f5275914cc62458855663 (patch) | |
tree | 715b52381673130a6dfbb6a648a339aab84157ec /main/libfprint/APKBUILD | |
parent | a1982c3a45bf1471021f828c91603df74f204f07 (diff) | |
download | aports-1b49b02c4b752fccfe6f5275914cc62458855663.tar.bz2 aports-1b49b02c4b752fccfe6f5275914cc62458855663.tar.xz |
main/libfprint: upgrade to 0.7.0, modernize abuild
Diffstat (limited to 'main/libfprint/APKBUILD')
-rw-r--r-- | main/libfprint/APKBUILD | 37 |
1 files changed, 13 insertions, 24 deletions
diff --git a/main/libfprint/APKBUILD b/main/libfprint/APKBUILD index 40b52a66f5..65dc07a52f 100644 --- a/main/libfprint/APKBUILD +++ b/main/libfprint/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Timo Teräs <timo.teras@iki.fi> # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=libfprint -pkgver=0.6.0 -pkgrel=2 +pkgver=0.7.0 +pkgrel=0 pkgdesc="fingerprint reader and identification library" url="http://www.freedesktop.org/wiki/Software/fprint/libfprint" arch="all" @@ -12,23 +12,18 @@ depends_dev="libusb-dev" makedepends="$depends_dev nss-dev glib-dev gdk-pixbuf-dev pixman-dev" install="" subpackages="$pkgname-dev" -source="http://people.freedesktop.org/~hadess/libfprint-$pkgver.tar.xz - 0001-imgdev-fix-enum-mismatch.patch +source="http://people.freedesktop.org/~anarsoul/libfprint-$pkgver.tar.xz " -_builddir="$srcdir"/libfprint-$pkgver +builddir="$srcdir"/libfprint-$pkgver + prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + default_prepare + update_config_sub } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -39,19 +34,13 @@ build() { --localstatedir=/var \ --disable-dependency-tracking \ --enable-fast-install \ - --with-pic \ - || return 1 - make || return 1 + --with-pic + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -md5sums="1e66f6e786348b46075368cc682450a8 libfprint-0.6.0.tar.xz -dc004f5eb118fa653746f9c9e0b3a810 0001-imgdev-fix-enum-mismatch.patch" -sha256sums="2583fcb7d542a918c023776f188067fcedec614e65494dd52bc4d661be803cbe libfprint-0.6.0.tar.xz -e96132d8917d58904e81a79c1d1901bf248cd2d61120231003ccac6f93832edc 0001-imgdev-fix-enum-mismatch.patch" -sha512sums="5f4f67f8dd377098776380b565bf19d6ab857fb11ab2ba2179b835368b52c1fc825c8e3dcebecb73eb5239a47725d8b2d33ece2812d5e05d93e397e6c97f90b2 libfprint-0.6.0.tar.xz -27c1fcfe8a5ceaa8bfe29ecb2389ff7839c8de2095101d5b55c9fff7e24b2875c589bb06f749a6ed5d04a3fa4392c9434f50758462cd12e520cbc2b0ba4aa3f5 0001-imgdev-fix-enum-mismatch.patch" +sha512sums="7a5280a34408ebe129256195a1219ed6a8258a2f5a46d92de4e1e18e931b0c15bd3df3898a7ee1aa5ed9b569e77953d12d007f1b7ced8b708d4bf0946e993e16 libfprint-0.7.0.tar.xz" |