[arch-commits] Commit in kubectx/repos/community-any (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sat Feb 22 11:50:29 UTC 2020
Date: Saturday, February 22, 2020 @ 11:50:29
Author: shibumi
Revision: 578406
archrelease: copy trunk to community-any
Added:
kubectx/repos/community-any/PKGBUILD
(from rev 578405, kubectx/trunk/PKGBUILD)
Deleted:
kubectx/repos/community-any/PKGBUILD
----------+
PKGBUILD | 66 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-22 11:50:22 UTC (rev 578405)
+++ PKGBUILD 2020-02-22 11:50:29 UTC (rev 578406)
@@ -1,33 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Ian Beringer <ian at ianberinger.com>
-
-pkgname=kubectx
-pkgver=0.7.1
-pkgrel=1
-license=('Apache')
-pkgdesc='Utility to manage and switch between kubectl contexts and Kubernetes namespaces'
-makedepends=()
-depends=('python')
-arch=('any')
-url='https://github.com/ahmetb/kubectx'
-source=("${url}/archive/v${pkgver}.tar.gz")
-sha512sums=('c78beba1820afb22548efb39e1fa704af017076096a4676d5a178bc3d65656f2352ee221d9754eb6fd8cc02a3aa96d743ce2c27a84a8b9c3684272cd2547fcf2')
-provides=('kubectx' 'kubens')
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- install -D -p -m 755 ./kubectx "${pkgdir}/usr/share/${pkgname}/kubectx"
- install -D -p -m 755 ./kubens "${pkgdir}/usr/share/${pkgname}/kubens"
-
- # completion for bash & zsh
- install -D -p -m 644 ./completion/kubectx.bash "${pkgdir}/usr/share/bash-completion/completions/kubectx"
- install -D -p -m 644 ./completion/kubens.bash "${pkgdir}/usr/share/bash-completion/completions/kubens"
- install -D -p -m 644 ./completion/kubectx.zsh "${pkgdir}/usr/share/zsh/site-functions/_kubectx"
- install -D -p -m 644 ./completion/kubens.zsh "${pkgdir}/usr/share/zsh/site-functions/_kubens"
-
- # symlink binaries
- mkdir "${pkgdir}/usr/bin"
- ln -s "/usr/share/${pkgname}/kubectx" "${pkgdir}/usr/bin/kubectx"
- ln -s "/usr/share/${pkgname}/kubens" "${pkgdir}/usr/bin/kubens"
-}
Copied: kubectx/repos/community-any/PKGBUILD (from rev 578405, kubectx/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-02-22 11:50:29 UTC (rev 578406)
@@ -0,0 +1,33 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Ian Beringer <ian at ianberinger.com>
+
+pkgname=kubectx
+pkgver=0.8.0
+pkgrel=1
+license=('Apache')
+pkgdesc='Utility to manage and switch between kubectl contexts and Kubernetes namespaces'
+makedepends=()
+depends=('python')
+arch=('any')
+url='https://github.com/ahmetb/kubectx'
+source=("${url}/archive/v${pkgver}.tar.gz")
+sha512sums=('7832aa0c3582f276f02e5f0acc29290bb2c764f087313499cea0d22240c0d4c99e988438763d3d15a94424d7da8385c55e6d0b510fa09933b6ad5cc26b2936d4')
+provides=('kubectx' 'kubens')
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ install -D -p -m 755 ./kubectx "${pkgdir}/usr/share/${pkgname}/kubectx"
+ install -D -p -m 755 ./kubens "${pkgdir}/usr/share/${pkgname}/kubens"
+
+ # completion for bash & zsh
+ install -D -p -m 644 ./completion/kubectx.bash "${pkgdir}/usr/share/bash-completion/completions/kubectx"
+ install -D -p -m 644 ./completion/kubens.bash "${pkgdir}/usr/share/bash-completion/completions/kubens"
+ install -D -p -m 644 ./completion/kubectx.zsh "${pkgdir}/usr/share/zsh/site-functions/_kubectx"
+ install -D -p -m 644 ./completion/kubens.zsh "${pkgdir}/usr/share/zsh/site-functions/_kubens"
+
+ # symlink binaries
+ mkdir "${pkgdir}/usr/bin"
+ ln -s "/usr/share/${pkgname}/kubectx" "${pkgdir}/usr/bin/kubectx"
+ ln -s "/usr/share/${pkgname}/kubens" "${pkgdir}/usr/bin/kubens"
+}
More information about the arch-commits
mailing list