Date: Tuesday, June 2, 2015 @ 15:42:48 Author: eworm Revision: 134542
archrelease: copy trunk to community-i686, community-x86_64 Added: yubico-c/repos/community-i686/ yubico-c/repos/community-i686/PKGBUILD (from rev 134541, yubico-c/trunk/PKGBUILD) yubico-c/repos/community-x86_64/ yubico-c/repos/community-x86_64/PKGBUILD (from rev 134541, yubico-c/trunk/PKGBUILD) ---------------------------+ community-i686/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ community-x86_64/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) Copied: yubico-c/repos/community-i686/PKGBUILD (from rev 134541, yubico-c/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-06-02 13:42:48 UTC (rev 134542) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Christian Hesse <m...@eworm.de> + +pkgname=yubico-c +pkgver=1.13 +pkgrel=2 +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') +makedepends=('git' 'asciidoc') +source=("git://github.com/Yubico/yubico-c.git#tag=libyubikey-${pkgver}") +sha256sums=('SKIP') + +build() { + cd yubico-c/ + + autoreconf -fi + ./configure --prefix=/usr + make +} + +check() { + cd yubico-c/ + + make check +} + +package() { + cd yubico-c/ + + install -D -m0644 COPYING "${pkgdir}/usr/share/licenses/yubico-c/COPYING" + install -D -m0644 README "${pkgdir}/usr/share/doc/yubico-c/README" + make DESTDIR="${pkgdir}/" install +} + Copied: yubico-c/repos/community-x86_64/PKGBUILD (from rev 134541, yubico-c/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2015-06-02 13:42:48 UTC (rev 134542) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Christian Hesse <m...@eworm.de> + +pkgname=yubico-c +pkgver=1.13 +pkgrel=2 +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') +makedepends=('git' 'asciidoc') +source=("git://github.com/Yubico/yubico-c.git#tag=libyubikey-${pkgver}") +sha256sums=('SKIP') + +build() { + cd yubico-c/ + + autoreconf -fi + ./configure --prefix=/usr + make +} + +check() { + cd yubico-c/ + + make check +} + +package() { + cd yubico-c/ + + install -D -m0644 COPYING "${pkgdir}/usr/share/licenses/yubico-c/COPYING" + install -D -m0644 README "${pkgdir}/usr/share/doc/yubico-c/README" + make DESTDIR="${pkgdir}/" install +} +