diff options
author | kmille | 2020-11-04 23:10:49 +0100 |
---|---|---|
committer | kmille | 2020-11-04 23:10:49 +0100 |
commit | 08297bd7c64fef0f21574025f7bcd1e2da95b1ab (patch) | |
tree | 14c0b14aa3f98cce7b51e451ee9585f7c36eee39 | |
parent | 258dc76f64a286c96bc1e73616e06e34523a203d (diff) | |
download | aur-08297bd7c64fef0f21574025f7bcd1e2da95b1ab.tar.gz |
Downgrade libfprint-0 to version 0.7 (anything else is too new for fprint_demo
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 13 |
3 files changed, 16 insertions, 7 deletions
@@ -1,9 +1,7 @@ -# Generated by mksrcinfo v8 -# Mon Jul 24 03:14:11 UTC 2017 pkgbase = fprint_demo pkgdesc = A simple GTK+ application to demonstrate and test libfprint's capabilities pkgver = 0.4 - pkgrel = 1 + pkgrel = 2 url = https://www.freedesktop.org/wiki/Software/fprint/fprint_demo/ arch = i686 arch = x86_64 @@ -11,7 +9,7 @@ pkgbase = fprint_demo license = GPL2 makedepends = git depends = gtk2 - depends = libfprint + depends = libfprint-0=0.7 source = https://github.com/dsd/fprint_demo/archive/v0.4.tar.gz md5sums = 41e78e420716f300b8776047b3c9fc5b diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..e3ebadfaa15e --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +src/* +pkg/* +*.tar.zst +*.tar.gz @@ -1,18 +1,25 @@ -# Maintainer: Hai Zhang <dreaming.in.code.zh@gmail.com> +# Maintainer: kmille <arch@androidloves.me> +# Contributor: Hai Zhang <dreaming.in.code.zh@gmail.com> pkgname=fprint_demo pkgver=0.4 -pkgrel=1 +pkgrel=2 pkgdesc='A simple GTK+ application to demonstrate and test libfprint'"'"'s capabilities' arch=('i686' 'x86_64') url='https://www.freedesktop.org/wiki/Software/fprint/fprint_demo/' license=('GPL2') -depends=('gtk2' 'libfprint') +depends=('gtk2' 'libfprint-0=0.7') makedepends=(git) groups=(fprint-git) source=('https://github.com/dsd/fprint_demo/archive/v0.4.tar.gz') md5sums=('41e78e420716f300b8776047b3c9fc5b') +prepare() { + cd "${pkgname}-${pkgver}" + sed -i 's|libfprint|libfprint-0|' configure.ac + sed -i 's|include <libfprint/|include <libfprint-0/|g' src/{*.c,*.h} +} + build() { cd "${pkgname}-${pkgver}" NOCONFIGURE=1 ./autogen.sh |