[arch-commits] Commit in (4 files)

Christian Hesse eworm at archlinux.org
Tue Jun 2 13:08:01 UTC 2015


    Date: Tuesday, June 2, 2015 @ 15:08:01
  Author: eworm
Revision: 134530

initial import for yubico-c

Added:
  yubico-c/
  yubico-c/repos/
  yubico-c/trunk/
  yubico-c/trunk/PKGBUILD

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Added: yubico-c/trunk/PKGBUILD
===================================================================
--- yubico-c/trunk/PKGBUILD	                        (rev 0)
+++ yubico-c/trunk/PKGBUILD	2015-06-02 13:08:01 UTC (rev 134530)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at 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
+}
+


Property changes on: yubico-c/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list