[arch-commits] Commit in yubico-c-client/trunk (PKGBUILD)
Christian Hesse
eworm at archlinux.org
Fri Jan 27 14:21:32 UTC 2017
Date: Friday, January 27, 2017 @ 14:21:32
Author: eworm
Revision: 209233
upgpkg: yubico-c-client 2.15-1
used signed source tarball
Modified:
yubico-c-client/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-27 14:15:29 UTC (rev 209232)
+++ PKGBUILD 2017-01-27 14:21:32 UTC (rev 209233)
@@ -2,6 +2,7 @@
# Maintainer: Christian Hesse <mail at eworm.de>
pkgname=yubico-c-client
+_shortname=ykclient
pkgver=2.15
pkgrel=1
pkgdesc='Yubico YubiKey client C library'
@@ -10,27 +11,29 @@
license=('BSD')
depends=('curl' 'yubico-c')
makedepends=('git' 'help2man')
-provides=('ykclient')
-conflicts=('ykclient')
-source=("git://github.com/Yubico/yubico-c-client.git#tag=ykclient-${pkgver}")
-sha256sums=('SKIP')
+provides=("${_shortname}")
+conflicts=("${_shortname}")
+validpgpkeys=('0A3B0262BCA1705307D5FF06BCA00FD4B2168C0A') # Klas Lindfors <klas at yubico.com>
+source=("https://developers.yubico.com/${pkgname}/Releases/${_shortname}-${pkgver}.tar.gz"{,.sig})
+sha256sums=('f461cdefe7955d58bbd09d0eb7a15b36cb3576b88adbd68008f40ea978ea5016'
+ 'SKIP')
build() {
- cd yubico-c-client/
+ cd "${_shortname}-${pkgver}"
- autoreconf -fi
- ./configure --prefix=/usr
+ ./configure \
+ --prefix=/usr
make
}
check() {
- cd yubico-c-client/
+ cd "${_shortname}-${pkgver}"
make check
}
package() {
- cd yubico-c-client/
+ cd "${_shortname}-${pkgver}"
install -D -m0644 COPYING "${pkgdir}/usr/share/licenses/yubico-c-client/COPYING"
install -D -m0644 README "${pkgdir}/usr/share/doc/yubico-c-client/README"
More information about the arch-commits
mailing list