summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Rodriguez2019-04-03 14:49:30 -0400
committerDavid Rodriguez2019-04-03 14:49:30 -0400
commit2d2f983e9f74cc8976874c59ea73e67aad1b617f (patch)
tree70b6734679d80ad17a429d9261a4396b35b2d09d
parent220775d4a23000192f88e9220ba59b45ee7aaad6 (diff)
downloadaur-2d2f983e9f74cc8976874c59ea73e67aad1b617f.tar.gz
Fix build errors
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d52711c4e59..66be3fd5be7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = kops-git
pkgdesc = Kubernetes Operations (kops) - Production Grade K8s Installation, Upgrades, and Management. (git version)
pkgver = 1.12.0.alpha.3.r0.g08aa9ac7f
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/kubernetes/kops
arch = x86_64
license = Apache
diff --git a/PKGBUILD b/PKGBUILD
index 8d6ec7b590e..227068840a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=kops-git
pkgver=1.12.0.alpha.3.r0.g08aa9ac7f
-pkgrel=1
+pkgrel=2
pkgdesc="Kubernetes Operations (kops) - Production Grade K8s Installation, Upgrades, and Management. (git version)"
arch=('x86_64')
url="https://github.com/kubernetes/kops"
@@ -20,7 +20,7 @@ prepare(){
}
pkgver() {
- cd $GOPATH/src/k8s.io/kops
+ cd $srcdir/src/k8s.io/kops
git describe --long --tags `git rev-list --tags --max-count=1` | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}