summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD5
2 files changed, 20 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5be45ae7aa2..72ec936913d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -15,3 +15,20 @@ pkgbase = update-ssh-keys
pkgname = update-ssh-keys
+# Generated by makepkg 5.0.0
+# Sun Mar 6 09:28:14 UTC 2016
+pkgbase = update-ssh-keys
+ pkgdesc = SSH Key helper binary from github.com/coreos/update-ssh-keys
+ pkgver = r21.206b3aa
+ pkgrel = 1
+ url = https://github.com/coreos/update-ssh-keys
+ arch = x86_64
+ license = apache
+ makedepends = go
+ provides = update-ssh-keys
+ replaces = update-ssh-keys
+ source = update-ssh-keys::git+https://github.com/coreos/update-ssh-keys
+ md5sums = SKIP
+
+pkgname = update-ssh-keys
+
diff --git a/PKGBUILD b/PKGBUILD
index ab2839c63d1..1151d9f67e8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=update-ssh-keys
-pkgver=0.0.1
+pkgver=r21.206b3aa
pkgrel=1
pkgdesc="SSH Key helper binary from github.com/coreos/update-ssh-keys"
arch=('x86_64')
@@ -13,9 +13,10 @@ md5sums=('SKIP')
pkgver() {
cd "$pkgname"
- git describe --long | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
+
build() {
cd "$pkgname"
./build