# Maintainer: Brad Erhart pkgname=eksctl-bin _pkgname=${pkgname%-bin} pkgver=0.27.0 pkgrel=1 pkgdesc="A simple CLI tool for creating clusters on Amazon's EKS" arch=(x86_64) url='https://eksctl.io' license=(Apache) depends=(kubectl) conflicts=($_pkgname) source=("https://github.com/weaveworks/eksctl/releases/download/$pkgver/${_pkgname}_Linux_amd64.tar.gz") sha256sums=(62b15bced0e4a21d8f8af144836c8493af889e626a2d54a6931f9c78c3d4e4fe) package() { install -Dm 755 $_pkgname "$pkgdir/usr/bin/$_pkgname" "$pkgdir/usr/bin/$_pkgname" completion bash | install -Dm 644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/$_pkgname" "$pkgdir/usr/bin/$_pkgname" completion zsh | install -Dm 644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_$_pkgname" }