summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b70e9e99324
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: travisghansen <travisghansen@yahoo.com>
+
+pkgname=yubico-piv-tool
+pkgver=0.1.6
+pkgrel=1
+pkgdesc="Tool to interact with the PIV applet on a YubiKey NEO"
+arch=('i686' 'x86_64')
+license=('GPL3')
+depends=('pcsclite')
+url=https://developers.yubico.com/yubico-piv-tool/
+source=("${pkgname}-${pkgver}.tar.gz::https://developers.yubico.com/yubico-piv-tool/Releases/${pkgname}-${pkgver}.tar.gz")
+md5sums=('e82d76972dc2f2638b16bf35bb836d6d')
+options=(!libtool)
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ DESTDIR="${pkgdir}" make install
+}