summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKevin King2017-08-13 13:57:53 -0400
committerKevin King2017-08-13 13:58:17 -0400
commit6b990ecc5003c5d4ae42846d7b4f721eca429201 (patch)
tree8123333834bc1254c6511b19b8f21ed1039ff2a3 /PKGBUILD
parenta9d23bb980e5e46d929ca3c9c88e6a07587e1087 (diff)
downloadaur-6b990ecc5003c5d4ae42846d7b4f721eca429201.tar.gz
convert kr-git package to stable
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0f7ef46f34d3..f37beb1c320a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
-# Maintainer: Danilo <aur ät dbrgn döt ch>
-pkgname=kr-git
-pkgver=r512.598fd9c
+# Maintainer: krypt.co <aur@>
+pkgname=kr
+pkgver=2.2.7
pkgrel=1
pkgdesc="SSH using a key stored in Kryptonite"
arch=('i686' 'x86_64')
@@ -16,14 +16,14 @@ conflicts=('kr')
backup=()
options=()
install=kr.install
-changelog=
-source=("git+https://github.com/kryptco/kr")
+changelog="https://krypt.co/app/krd_changelog/"
+source=("git+https://github.com/kryptco/kr#tag=$pkgver")
md5sums=('SKIP')
validpgpkeys=()
pkgver() {
cd ${srcdir}/src/github.com/kryptco/kr
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
@@ -48,5 +48,6 @@ package() {
install -D -m 755 "bin/kr" "${pkgdir}/usr/bin/kr"
install -D -m 755 "bin/krd" "${pkgdir}/usr/bin/krd"
install -D -m 755 "bin/krssh" "${pkgdir}/usr/bin/krssh"
+ install -D -m 755 "bin/krgpg" "${pkgdir}/usr/bin/krgpg"
install -D -m 755 "bin/kr-pkcs11.so" "${pkgdir}/usr/lib/kr-pkcs11.so"
}