[arch-commits] Commit in libu2f-host/repos (2 files)

Christian Hesse eworm at archlinux.org
Mon Dec 25 20:13:07 UTC 2017


    Date: Monday, December 25, 2017 @ 20:13:06
  Author: eworm
Revision: 276039

archrelease: copy trunk to community-staging-x86_64

Added:
  libu2f-host/repos/community-staging-x86_64/
  libu2f-host/repos/community-staging-x86_64/PKGBUILD
    (from rev 276038, libu2f-host/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: libu2f-host/repos/community-staging-x86_64/PKGBUILD (from rev 276038, libu2f-host/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-12-25 20:13:06 UTC (rev 276039)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=libu2f-host
+pkgver=1.1.4
+pkgrel=1
+pkgdesc="Yubico Universal 2nd Factor (U2F) Host C Library"
+arch=('x86_64')
+url='https://github.com/Yubico/libu2f-host'
+license=('BSD')
+depends=('json-c' 'hidapi')
+makedepends=('git' 'help2man' 'gengetopt')
+validpgpkeys=('0A3B0262BCA1705307D5FF06BCA00FD4B2168C0A') # Klas Lindfors <klas at yubico.com>
+source=("https://developers.yubico.com/${pkgname}/Releases/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha256sums=('6043ec020d96358a4887a3ff09492c4f9f6b5bccc48dcdd8f28b15b1c6157a6f'
+            'SKIP')
+
+build() {
+	cd "${pkgname}-${pkgver}"
+
+	./configure \
+		--prefix=/usr \
+		--disable-gtk-doc \
+		--with-udevrulesdir=/usr/lib/udev/rules.d/
+	make
+}
+
+
+check() {
+	cd "${pkgname}-${pkgver}"
+
+	make check
+}
+
+package() {
+	cd "${pkgname}-${pkgver}"
+
+	make DESTDIR="${pkgdir}/" install
+
+	install -D -m0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
+



More information about the arch-commits mailing list