SHARE
TWEET

libfprint-elantech-git updated

a guest Jul 24th, 2018 148 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Paul Stoetzer <n8hm at arrl.net>
  2.  
  3. pkgname=libfprint-elantech-git
  4. _pkgname=libfprint
  5. pkgver=r352.8d2c931
  6. pkgrel=1
  7. pkgdesc="A fork of libfprint with ElanTech fingerprint reader driver"
  8. arch=(x86_64)
  9. url="https://github.com/iafilatov/libfprint"
  10. license=(LGPL)
  11. depends=(libusb nss pixman glib2)
  12. makedepends=(git meson gtk-doc)
  13. conflicts=(libfprint)
  14. provides=(libfprint)
  15. source=(git+https://github.com/iafilatov/libfprint.git)
  16. md5sums=(SKIP)
  17.  
  18. pkgver() {
  19.   cd libfprint
  20.   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  21. }
  22.  
  23. prepare() {
  24.   mkdir -p build
  25. }
  26.  
  27. build() {
  28.   cd build
  29.   meson ../libfprint --prefix /usr -D x11-examples=false -D doc=false # FIXME: documentation doesn't build:
  30.   ninja
  31. }
  32.  
  33. package() {
  34.   cd build
  35.   DESTDIR="$pkgdir" ninja install
  36.   mkdir "$pkgdir/usr/include/libfprint"
  37.   ln -s /usr/include/fprint.h "$pkgdir/usr/include/libfprint/fprint.h"
  38. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top