diff options
author | Fernandez Ludovic | 2022-03-18 23:07:41 +0100 |
---|---|---|
committer | Fernandez Ludovic | 2022-03-18 23:07:41 +0100 |
commit | 925e6ff5423eec404abfe1f88ccfd12e261853fd (patch) | |
tree | 26b712154399eb33ec30478f7b690027d3bb5613 /PKGBUILD | |
parent | 4c0eb41f35d98b6e31c5094a85dbf874198c54a0 (diff) | |
download | aur-925e6ff5423eec404abfe1f88ccfd12e261853fd.tar.gz |
feat: add fish autocompletion
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -2,7 +2,7 @@ pkgname=golangci-lint-bin pkgdesc='Linters Runner for Go. 5x faster than gometalinter.' pkgver=1.45.0 -pkgrel=1 +pkgrel=2 arch=('x86_64' 'i686' 'aarch64' 'armv6h' 'armv7h') url=https://github.com/golangci/golangci-lint license=('GPL3') @@ -23,7 +23,12 @@ sha256sums_armv7h=('6431699fbd2b67ca1bc95bd9a5ec61e292b0113fc4cd0099911b22cce7ef package() { local x86_64=amd64 i686=386 aarch64=arm64 armv6h=armv6 armv7h=armv7 cd "golangci-lint-${pkgver}-linux-${!CARCH}" + + # Bin install -Dm755 golangci-lint -t "$pkgdir"/usr/bin + + # Completions ./golangci-lint completion bash | install -Dm644 /dev/stdin "$pkgdir"/usr/share/bash-completion/completions/golangci-lint ./golangci-lint completion zsh | install -Dm644 /dev/stdin "$pkgdir"/usr/share/zsh/site-functions/_golangci-lint + ./golangci-lint completion fish | install -Dm644 /dev/stdin "$pkgdir"/usr/share/fi sh/completions/golangci-lint.fish } |