[arch-commits] Commit in kubectx/repos/community-any (PKGBUILD PKGBUILD)

Christian Rebischke shibumi at archlinux.org
Thu Jul 2 21:42:00 UTC 2020


    Date: Thursday, July 2, 2020 @ 21:42:00
  Author: shibumi
Revision: 657551

archrelease: copy trunk to community-any

Added:
  kubectx/repos/community-any/PKGBUILD
    (from rev 657550, kubectx/trunk/PKGBUILD)
Deleted:
  kubectx/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   68 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 35 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-02 21:41:55 UTC (rev 657550)
+++ PKGBUILD	2020-07-02 21:42:00 UTC (rev 657551)
@@ -1,33 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Ian Beringer <ian at ianberinger.com>
-
-pkgname=kubectx
-pkgver=0.9.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=('ac9b5258c23d07ee1ab1d3017645bb0588c7da8537c63b330b01039fb86164af41d2e37adb1e0619acf49e4265ee1ad4ed1d4a59e7ec878f78aa75e6da0dd829')
-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 657550, kubectx/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-02 21:42:00 UTC (rev 657551)
@@ -0,0 +1,35 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Ian Beringer <ian at ianberinger.com>
+
+pkgname=kubectx
+pkgver=0.9.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=('f9872bb2a0a354d6e4b07715dea434482fb61f34914354d0d458e723d87b41e09eb94fb302185631700aad09a29268e00925016fa1b2d4c80f30402f35b6e6e4')
+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 & fish
+	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"
+	install -D -p -m 644 ./completion/kubectx.fish "${pkgdir}/usr/share/fish/vendor_completions.d/kubectx.fish"
+	install -D -p -m 644 ./completion/kubens.fish "${pkgdir}/usr/share/fish/vendor_completions.d/kubens.fish"
+
+	# 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