[arch-commits] Commit in libfprint/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Jun 14 12:30:50 UTC 2018
Date: Thursday, June 14, 2018 @ 12:30:50
Author: heftig
Revision: 326967
archrelease: copy trunk to extra-x86_64
Added:
libfprint/repos/extra-x86_64/PKGBUILD
(from rev 326966, libfprint/trunk/PKGBUILD)
Deleted:
libfprint/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 83 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 43 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-14 12:29:54 UTC (rev 326966)
+++ PKGBUILD 2018-06-14 12:30:50 UTC (rev 326967)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Tom Gundersen <teg at jklm.no>
-# Contributor: Thomas Baechler <thomas at archlinux.org>
-
-pkgname=libfprint
-pkgver=0.7.0
-pkgrel=1
-pkgdesc="Library for fingerprint readers"
-arch=(i686 x86_64)
-url="https://www.freedesktop.org/wiki/Software/fprint/libfprint"
-license=(LGPL)
-depends=(libusb nss pixman glib2)
-makedepends=(git)
-groups=(fprint)
-_commit=d82847a6b4bbd2864388f2bf8e6a2b9d1aed05c4 # tags/V_0_7_0^0
-source=("git+https://anongit.freedesktop.org/git/libfprint/libfprint#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/^V_//;s/_/./g;s/-/+/g'
-}
-
-prepare() {
- cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
- cd $pkgname
- ./configure --prefix=/usr --sysconfdir=/etc --disable-static
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
-}
Copied: libfprint/repos/extra-x86_64/PKGBUILD (from rev 326966, libfprint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-14 12:30:50 UTC (rev 326967)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Tom Gundersen <teg at jklm.no>
+# Contributor: Thomas Baechler <thomas at archlinux.org>
+
+pkgname=libfprint
+pkgver=0.8.1
+pkgrel=1
+pkgdesc="Library for fingerprint readers"
+arch=(x86_64)
+url="https://www.freedesktop.org/wiki/Software/fprint/libfprint"
+license=(LGPL)
+depends=(libusb nss pixman glib2)
+makedepends=(git meson gtk-doc)
+groups=(fprint)
+_commit=6f6127cbb640a8549eb971aa73d6fe8543d3c40b # master~1
+source=("git+https://anongit.freedesktop.org/git/libfprint/libfprint#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^V_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ # Fixup missing tag
+ git tag -f V_0_8_1 6f6127cbb640a8549eb971aa73d6fe8543d3c40b
+}
+
+build() {
+ arch-meson $pkgname build -D x11-examples=false
+ ninja -C build
+}
+
+check() {
+ cd build
+ meson test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+}
More information about the arch-commits
mailing list