Skip to content

Instantly share code, notes, and snippets.

@SammysHP
Created November 3, 2016 11:25
Show Gist options
  • Save SammysHP/fad9909b4c7895b986ca40eacd522a17 to your computer and use it in GitHub Desktop.
Save SammysHP/fad9909b4c7895b986ca40eacd522a17 to your computer and use it in GitHub Desktop.
Updated PKGBUILD for libfprint-git
# Maintainer: Ivan Shapovalov <[email protected]>
# Contributor: Sven Greiner <[email protected]>
# Contributor: vldmr <[email protected]>
# Contributor: Thomas Krug <[email protected]>
# Contributor: Matthew Bauer <[email protected]>
pkgname=libfprint-git
epoch=1
pkgver=0.6.0.r33.g9570c36
pkgrel=1
pkgdesc="Library for fingerprint readers"
arch=(i686 x86_64)
url="http://www.freedesktop.org/wiki/Software/fprint/libfprint"
license=(LGPL)
depends=(libusb nss pixman)
makedepends=(git)
groups=(fprint-git)
provides=(libfprint)
conflicts=(libfprint)
source=("git://anongit.freedesktop.org/libfprint/libfprint.git")
md5sums=('SKIP')
pkgver() {
cd libfprint
git describe --long --tags 2>/dev/null | sed 's/^V_//;s/\([0-9]*-g\)/r\1/;s/[-_]/./g'
}
build() {
cd libfprint
NOCONFIGURE=1 ./autogen.sh
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-static
make
}
package() {
cd libfprint
make DESTDIR="$pkgdir" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment