[arch-commits] Commit in (4 files)
Maxim Baz
maximbaz at archlinux.org
Wed Feb 13 00:29:39 UTC 2019
Date: Wednesday, February 13, 2019 @ 00:29:38
Author: maximbaz
Revision: 432008
libu2f-server: import from AUR
Added:
libu2f-server/
libu2f-server/repos/
libu2f-server/trunk/
libu2f-server/trunk/PKGBUILD
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Added: libu2f-server/trunk/PKGBUILD
===================================================================
--- libu2f-server/trunk/PKGBUILD (rev 0)
+++ libu2f-server/trunk/PKGBUILD 2019-02-13 00:29:38 UTC (rev 432008)
@@ -0,0 +1,37 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Maxime de Roucy <maxime.deroucy at gmail.com>
+
+pkgname=libu2f-server
+pkgver=1.1.0
+pkgrel=3
+pkgdesc='Yubico Universal 2nd Factor (U2F) Server C Library'
+arch=('x86_64')
+url='https://developers.yubico.com/libu2f-server'
+license=('BSD')
+depends=('openssl' 'json-c')
+makedepends=('check' 'gengetopt' 'help2man')
+source=("${url}/Releases/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha256sums=('8dcd3caeacebef6e36a42462039fd035e45fa85653dcb2013f45e15aad49a277'
+ 'SKIP')
+validpgpkeys=('B70D62AA6A31AD6B9E4F9F4BDC8888925D25CA7A') # Alessio Di Mauro <alessio at yubico.com>
+
+build() {
+ cd "${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+
+ make check
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" COPYING
+}
More information about the arch-commits
mailing list