Date: Friday, January 27, 2017 @ 14:15:25
  Author: eworm
Revision: 209231

upgpkg: yubico-c 1.13-3

use signed source tarball

Modified:
  yubico-c/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-01-27 14:13:24 UTC (rev 209230)
+++ PKGBUILD    2017-01-27 14:15:25 UTC (rev 209231)
@@ -2,35 +2,38 @@
 # Maintainer: Christian Hesse <[email protected]>
 
 pkgname=yubico-c
+_shortname=libyubikey
 pkgver=1.13
-pkgrel=2
+pkgrel=3
 pkgdesc='Yubico YubiKey C library'
 arch=('i686' 'x86_64')
 url='https://github.com/Yubico/yubico-c'
 license=('BSD')
 depends=('curl' 'libusb')
-provides=('libyubikey')
-conflicts=('libyubikey')
+provides=("${_shortname}")
+conflicts=("${_shortname}")
 makedepends=('git' 'asciidoc')
-source=("git://github.com/Yubico/yubico-c.git#tag=libyubikey-${pkgver}")
-sha256sums=('SKIP')
+validpgpkeys=('0A3B0262BCA1705307D5FF06BCA00FD4B2168C0A') # Klas Lindfors 
<[email protected]>
+source=("https://developers.yubico.com/${pkgname}/Releases/${_shortname}-${pkgver}.tar.gz"{,.sig})
+sha256sums=('04edd0eb09cb665a05d808c58e1985f25bb7c5254d2849f36a0658ffc51c3401'
+            'SKIP')
 
 build() {
-       cd yubico-c/
+       cd "${_shortname}-${pkgver}"
 
-       autoreconf -fi
-       ./configure --prefix=/usr
+       ./configure \
+               --prefix=/usr
        make
 }
 
 check() {
-       cd yubico-c/
+       cd "${_shortname}-${pkgver}"
 
        make check
 }
 
 package() {
-       cd yubico-c/
+       cd "${_shortname}-${pkgver}"
 
        install -D -m0644 COPYING 
"${pkgdir}/usr/share/licenses/yubico-c/COPYING"
        install -D -m0644 README "${pkgdir}/usr/share/doc/yubico-c/README"

Reply via email to