Skip to content

Instantly share code, notes, and snippets.

@dnaeon
Last active December 15, 2023 07:46
Show Gist options
  • Save dnaeon/ff3af6a4a7f4ff296bfec7ab3c812666 to your computer and use it in GitHub Desktop.
Save dnaeon/ff3af6a4a7f4ff296bfec7ab3c812666 to your computer and use it in GitHub Desktop.
ketall-bin (Arch Linux)
# Maintainer: Marin Atanasov Nikolov <dnaeon@gmail.com>
pkgname=ketall-bin
pkgver=1.3.8
pkgrel=1
pkgdesc='Like `kubectl get all`, but get really all resources'
arch=('x86_64')
url='https://github.com/corneliusweig/ketall'
license=('Apache')
makedepends=()
depends=('glibc')
provides=('ketall')
conflicts=('ketall-git')
source=(
"ketall-amd64-linux.tar.gz::https://github.com/corneliusweig/ketall/releases/download/v${pkgver}/ketall-amd64-linux.tar.gz"
)
sha256sums=(
'670325b8bd93f8274392e4090630274607b2d62631e2061fd3a73c2acac29e0a'
)
noextract=()
validpgpkeys=()
options=(!strip)
package() {
chmod 0755 "${srcdir}/ketall-amd64-linux"
install -Dm755 "${srcdir}/ketall-amd64-linux" "${pkgdir}/usr/bin/ketall"
${srcdir}/ketall-amd64-linux completion bash | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/ketall"
${srcdir}/ketall-amd64-linux completion zsh | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_ketall"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment