# Maintainer: Lukas Grossar pkgname=azwi-bin pkgver=1.3.0 pkgrel=1 pkgdesc="CLI that helps manage Entra ID Workload Identity" arch=('x86_64') url="https://github.com/Azure/azure-workload-identity" license=('MIT') source=("https://github.com/Azure/azure-workload-identity/releases/download/v${pkgver}/azwi-v${pkgver}-linux-amd64.tar.gz") sha256sums=('bbc84c7e5fcaf4c6e3e58064dc66b3b7f70f38a6d8f9cdd07f0669a8499bdd47') package() { install -Dm 755 "$srcdir/azwi" -t "$pkgdir/usr/bin" "$pkgdir/usr/bin/azwi" completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/azwi" "$pkgdir/usr/bin/azwi" completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_azwi" "$pkgdir/usr/bin/azwi" completion fish | install -Dm644 /dev/stdin "$pkgdir/usr/share/fish/vendor_completions.d/azwi.fish" }