summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2a56e524b427f240958ffde6c141bd38dd3cad51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Maintainer: ayr-ton <ayrton@riseup.net>
# Contributer: alex4ip <alex4ip@gmail.com>
# Contributer: Alex Ellis <alex@openfaas.com>

pkgname=arkade-bin
_pkgname=arkade
pkgver=0.8.46
pkgrel=1
epoch=1
pkgdesc='Your one-stop CLI for Kubernetes. provides a simple CLI with strongly-typed flags to install charts and apps to your cluster in one command.'
arch=('x86_64' 'aarch64' 'arm' 'armv6h' 'armv7h')
url='https://github.com/alexellis/arkade/'
license=(MIT)
depends=('openssh')
#depends=('docker')
optdepends=('k3sup-bin'
            'k3s-bin'
            'kubernetes-bin'
            'helm'
            'terraform'
            'azure-cli: Command-line tools for Azure'
            'aws-cli: cli for Amazon Web Services'
            'google-cloud-sdk: gcloud - command-line tools for the Google Cloud Platform')
provides=('arkade')
#makedepends=('go')
_OWNER=alexellis

case "${CARCH}" in
  x86_64)    _CARCH=''        && sha256sums=('9bc9af1ca4da12f1041ad0029484bec14b33e0a87c35fcf07e7f901be53497b2');;
  aarch64)   _CARCH='-arm64'  && sha256sums=('SKIP');;
  arm*)      _CARCH='-armhf'  && sha256sums=('SKIP');;
esac

source=("$pkgname-$pkgver::https://github.com/${_OWNER}/${_pkgname}/releases/download/${pkgver}/${provides}${_CARCH}")

package() {  
  install -Dm 755 "$srcdir/$pkgname-$pkgver" "${pkgdir}/usr/bin/${provides}"

  # install -dm 755 "$pkgdir/usr/share/bash-completion/completions"
  # install -dm 755 "$pkgdir/usr/share/zsh/site-functions"
  # "$pkgdir/usr/bin/provides" completion bash > "$pkgdir/usr/share/bash-completion/completions/provides"
  # "$pkgdir/usr/bin/provides" completion zsh >  "$pkgdir/usr/share/zsh/site-functions/_provides"
}

# vim:set ts=2 sw=2 et: