[arch-commits] Commit in libu2f-host/trunk (PKGBUILD)

Christian Hesse eworm at archlinux.org
Fri Jan 27 14:37:27 UTC 2017


    Date: Friday, January 27, 2017 @ 14:37:26
  Author: eworm
Revision: 209241

upgpkg: libu2f-host 1.1.3-2

use signed source tarball

Modified:
  libu2f-host/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-27 14:32:39 UTC (rev 209240)
+++ PKGBUILD	2017-01-27 14:37:26 UTC (rev 209241)
@@ -3,7 +3,7 @@
 
 pkgname=libu2f-host
 pkgver=1.1.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Yubico Universal 2nd Factor (U2F) Host C Library"
 arch=('i686' 'x86_64')
 url='https://github.com/Yubico/libu2f-host'
@@ -10,13 +10,14 @@
 license=('BSD')
 depends=('json-c' 'hidapi')
 makedepends=('git' 'help2man' 'gtk-doc' 'gengetopt')
-source=("git://github.com/Yubico/libu2f-host.git#tag=libu2f-host-${pkgver}")
-sha256sums=('SKIP')
+validpgpkeys=('0A3B0262BCA1705307D5FF06BCA00FD4B2168C0A') # Klas Lindfors <klas at yubico.com>
+source=("https://developers.yubico.com/${pkgname}/Releases/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha256sums=('3e00c1910de64e2c90f20c05bb468b183ffed05e13cb340442d206014752039d'
+            'SKIP')
 
 build() {
-	cd libu2f-host/
+	cd "${pkgname}-${pkgver}"
 
-	autoreconf -fi
 	./configure \
 		--prefix=/usr \
 		--enable-gtk-doc \
@@ -26,13 +27,13 @@
 
 
 check() {
-	cd libu2f-host/
+	cd "${pkgname}-${pkgver}"
 
 	make check
 }
 
 package() {
-	cd libu2f-host/
+	cd "${pkgname}-${pkgver}"
 
 	make DESTDIR="${pkgdir}/" install
 



More information about the arch-commits mailing list