[arch-commits] Commit in libu2f-host/repos (3 files)
Jelle van der Waa
jelle at archlinux.org
Fri Dec 29 14:25:53 UTC 2017
Date: Friday, December 29, 2017 @ 14:25:53
Author: jelle
Revision: 276859
db-move: moved libu2f-host from [community-staging] to [community-testing] (x86_64)
Added:
libu2f-host/repos/community-testing-x86_64/
libu2f-host/repos/community-testing-x86_64/PKGBUILD
(from rev 276858, libu2f-host/repos/community-staging-x86_64/PKGBUILD)
Deleted:
libu2f-host/repos/community-staging-x86_64/
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: libu2f-host/repos/community-testing-x86_64/PKGBUILD (from rev 276858, libu2f-host/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2017-12-29 14:25:53 UTC (rev 276859)
@@ -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