# Maintainer: Brad Erhart # Maintainer: Jerry Y. Chen pkgname=skaffold-bin reponame=skaffold provides=('skaffold') conflicts=('skaffold') pkgver=2.10.0 pkgrel=1 pkgdesc="A command line tool that facilitates continuous development for Kubernetes applications" arch=("x86_64") url="https://github.com/GoogleContainerTools/${reponame}" license=("Apache") optdepends=( "docker: One of tools for building images support by skaffold" "minikube: To use Minikube" "kubectl: One of tools for deploying applications support by skaffold" "bash-completion: Tab autocompletion" ) case "${CARCH}" in x86_64) _CARCH=amd64 && sha256sums=('ef6ec87406009b0efdf80ead708972d75518c93690fa2ac8bbaad0b5750a51d5');; aarch64) _CARCH=arm64 && sha256sums=('55e2a601a19a91dcf1046f3ff65bf4f8c0731cf53ddefaceab3636b625e93f92');; esac source=("${reponame}-${pkgver}-${_CARCH}::https://github.com/GoogleContainerTools/skaffold/releases/download/v$pkgver/skaffold-linux-${_CARCH}") package() { install -Dm 0755 ${reponame}-${pkgver}-${_CARCH} "$pkgdir/usr/bin/skaffold" }