File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,38 @@ brews:
140140# source_repo: "https://push.chocolatey.org/"
141141# goamd64: v1
142142
143+ aurs :
144+ - description : Fast linters runner for Go.
145+ skip_upload : false
146+ homepage : https://golangci.com
147+ provides :
148+ - " golangci-lint-bin"
149+ maintainers :
150+ - " Fernandez Ludovic <lfernandez dot dev at gmail dot com>"
151+ license : GPL-3.0
152+ private_key : " {{ .Env.AUR_KEY }}"
153+ git_url :
" ssh://[email protected] /golangci-lint-bin.git" 154+ commit_author :
155+ name : golangci-releaser
156+ 157+ package : |-
158+ local x86_64=amd64 i686=386 aarch64=arm64 armv6h=armv6 armv7h=armv7
159+ cd "golangci-lint-${pkgver}-linux-${!CARCH}"
160+
161+ # bin
162+ install -Dm755 "./golangci-lint" "${pkgdir}/usr/bin/golangci-lint"
163+
164+ # license
165+ install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/golangci-lint/LICENSE"
166+
167+ # completions
168+ mkdir -p "${pkgdir}/usr/share/bash-completion/completions/"
169+ mkdir -p "${pkgdir}/usr/share/zsh/site-functions/"
170+ mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
171+ ./golangci-lint completion bash | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/golangci-lint"
172+ ./golangci-lint completion zsh | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_golangci-lint"
173+ ./golangci-lint completion fish | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/golangci-lint.fish"
174+
143175snapcrafts :
144176 - summary : Fast linters runner for Go.
145177 description : |
You can’t perform that action at this time.
0 commit comments