summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDavid Birks2019-06-24 12:57:23 -0400
committerDavid Birks2019-06-24 13:01:00 -0400
commit2dbc9e3bfd2dde0f80bff475a83fab31a75895e2 (patch)
tree557c6ff603d0a0acbc38bd5d9379138aa89fc2b7 /PKGBUILD
parent29d1f007faa2041108d238ef44d8d0e44dd93648 (diff)
downloadaur-2dbc9e3bfd2dde0f80bff475a83fab31a75895e2.tar.gz
Update to 1.15.0-beta.2
Also change to shorter substitution parameter expansion Just learned about a shorter way to substitute _ for - in $pkgver: https://wiki.bash-hackers.org/syntax/pe#search_and_replace Since there will only ever be one underscore, it is fine to use just one slash.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5f01c58e90a..73ac2dab304 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,21 +3,21 @@
pkgname=kubectl-beta-bin
pkgdesc="Command-line tool for deploying and managing applications on Kubernetes (beta)"
-pkgver=1.15.0_beta.1
+pkgver=1.15.0_beta.2
pkgrel=1
arch=('x86_64')
url="https://github.com/kubernetes/kubernetes"
license=('Apache')
provides=('kubectl' 'kubectl-bin')
conflicts=('kubectl' 'kubectl-bin' 'kubernetes>=1.4.6')
-source=("kubectl-${pkgver//_/-}::https://storage.googleapis.com/kubernetes-release/release/v${pkgver//_/-}/bin/linux/amd64/kubectl")
-sha512sums=('cf3d4ae9d6b21d67166c3a1fc89872495573b69a7a03875567f1c7c671bb0e8df64d7b032820eb50fcb95f3d4492e7e9807eda218cdc68275c26b9e105d49e79')
+source=("kubectl-${pkgver/_/-}::https://storage.googleapis.com/kubernetes-release/release/v${pkgver/_/-}/bin/linux/amd64/kubectl")
+sha512sums=('5733c78b7c7179f55393be59f836afded69d9b026686ab3d51d4dfcec2bd1f25bd63b217be1feaffd2529e5de63d88044b4b7c54929cf49a8ddcf6b1a6920a5d')
package() {
- install -Dm 755 "$srcdir/kubectl-${pkgver//_/-}" "$pkgdir/usr/bin/kubectl"
+ install -Dm 755 "$srcdir/kubectl-${pkgver/_/-}" "$pkgdir/usr/bin/kubectl"
# Populate bash and zsh completions
install -dm 755 "$pkgdir/usr/share/bash-completion/completions"
install -dm 755 "$pkgdir/usr/share/zsh/site-functions"
"$pkgdir/usr/bin/kubectl" completion bash > "$pkgdir/usr/share/bash-completion/completions/kubectl"
- "$pkgdir/usr/bin/kubectl" completion zsh > "$pkgdir/usr/share/zsh/site-functions/_kubectl"
+ "$pkgdir/usr/bin/kubectl" completion zsh > "$pkgdir/usr/share/zsh/site-functions/_kubectl"
}