summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDavid Rodriguez2019-04-03 14:49:30 -0400
committerDavid Rodriguez2019-04-03 14:49:30 -0400
commit2d2f983e9f74cc8976874c59ea73e67aad1b617f (patch)
tree70b6734679d80ad17a429d9261a4396b35b2d09d /PKGBUILD
parent220775d4a23000192f88e9220ba59b45ee7aaad6 (diff)
downloadaur-2d2f983e9f74cc8976874c59ea73e67aad1b617f.tar.gz
Fix build errors
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
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'
}