diff options
author | David Rodriguez | 2022-08-15 05:27:22 -0400 |
---|---|---|
committer | David Rodriguez | 2022-08-15 05:27:22 -0400 |
commit | 5d56d3e39ffecf5ccf1bf4265ee376b84bcc3737 (patch) | |
tree | a13980176a8639eb6a90a3545154490c60672fba | |
parent | be3b385b5465133e48636b3676448a7b8ef27fc6 (diff) | |
download | aur-5d56d3e39ffecf5ccf1bf4265ee376b84bcc3737.tar.gz |
Update to 1.25.0.alpha.2.r85.g429ebecdca
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = kops-git pkgdesc = Kubernetes Operations (kops) - Production Grade K8s Installation, Upgrades, and Management. (git version) - pkgver = 1.12.0.r0.ga2b7b4a88 + pkgver = 1.25.0.alpha.2.r85.g429ebecdca pkgrel = 1 url = https://github.com/kubernetes/kops arch = x86_64 @@ -10,8 +10,7 @@ pkgbase = kops-git provides = kops conflicts = kops conflicts = kops-bin - source = kops-git-1.12.0.r0.ga2b7b4a88::git+https://github.com/kubernetes/kops + source = kops-git::git+https://github.com/kubernetes/kops md5sums = SKIP pkgname = kops-git - @@ -1,7 +1,7 @@ # Maintainer: David Rodriguez <dissonant.tech@gmail.com> pkgname=kops-git -pkgver=1.17.0.beta.1.r0.g32af4ed9b +pkgver=1.25.0.alpha.2.r85.g429ebecdca pkgrel=1 pkgdesc="Kubernetes Operations (kops) - Production Grade K8s Installation, Upgrades, and Management. (git version)" arch=('x86_64') @@ -10,9 +10,14 @@ license=('Apache') makedepends=('go' 'git') provides=('kops') conflicts=('kops' 'kops-bin') -source=("${pkgname}-${pkgver}::git+https://github.com/kubernetes/kops") +source=("${pkgname}::git+https://github.com/kubernetes/kops") md5sums=('SKIP') +pkgver() { + cd "$pkgname" + git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + prepare(){ export GOPATH=$srcdir mkdir -p "$GOPATH/src/k8s.io" |