summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTravis Glenn Hansen2015-06-08 15:29:12 -0600
committerTravis Glenn Hansen2015-06-08 15:29:12 -0600
commitf47c958ea597e4f7ecc11ad6c2efb5259d34e7ea (patch)
tree181abef42c828a5ff269084b6de91d0042628b80
downloadaur-f47c958ea597e4f7ecc11ad6c2efb5259d34e7ea.tar.gz
Initial import
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore8
-rw-r--r--PKGBUILD24
3 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ca75434a8ec
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = yubico-piv-tool
+ pkgdesc = Tool to interact with the PIV applet on a YubiKey NEO
+ pkgver = 0.1.6
+ pkgrel = 1
+ url = https://developers.yubico.com/yubico-piv-tool/
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ depends = pcsclite
+ options = !libtool
+ source = yubico-piv-tool-0.1.6.tar.gz::https://developers.yubico.com/yubico-piv-tool/Releases/yubico-piv-tool-0.1.6.tar.gz
+ md5sums = e82d76972dc2f2638b16bf35bb836d6d
+
+pkgname = yubico-piv-tool
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..8a7d0592ae0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+# ignore everything
+/*
+
+# include the files that matter
+!/.gitignore
+!/PKGBUILD
+!/.SRCINFO
+!/*.install
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
+}