File tree Expand file tree Collapse file tree 4 files changed +38
-0
lines changed
Expand file tree Collapse file tree 4 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 2727 args : release --clean
2828 env :
2929 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30+ AUR_KEY : ${{ secrets.AUR_KEY }}
3031
3132 release-darwin :
3233 needs : release-linux
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ archives:
2525 {{- .Version }}_
2626 {{- .Os }}_
2727 {{- .Arch }}
28+ files :
29+ - LICENSE
30+ - README.md
2831
2932release :
3033 github :
Original file line number Diff line number Diff line change @@ -33,6 +33,9 @@ archives:
3333 {{- .Os }}_
3434 {{- .Arch }}
3535 {{- if .Arm }}v{{ .Arm }}{{ end }}
36+ files :
37+ - LICENSE
38+ - README.md
3639
3740checksum :
3841 name_template : " checksums.txt"
@@ -61,6 +64,27 @@ nfpms:
6164 - rpm
6265 - apk
6366
67+ aurs :
68+ - name : snitch-bin
69+ homepage : https://github.com/karol-broda/snitch
70+ description : a friendlier ss/netstat for humans
71+ maintainers :
72+ - " Karol Broda <me@karolbroda.com>"
73+ license : MIT
74+ private_key : " {{ .Env.AUR_KEY }}"
75+ git_url : " ssh://aur@aur.archlinux.org/snitch-bin.git"
76+ depends :
77+ - glibc
78+ provides :
79+ - snitch
80+ conflicts :
81+ - snitch
82+ package : |-
83+ install -Dm755 "./snitch" "${pkgdir}/usr/bin/snitch"
84+ install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/snitch/LICENSE"
85+ commit_msg_template : " Update to {{ .Tag }}"
86+ skip_upload : auto
87+
6488release :
6589 github :
6690 owner : karol-broda
Original file line number Diff line number Diff line change @@ -28,6 +28,16 @@ nix profile install github:karol-broda/snitch
2828# then use: inputs.snitch.packages.${system}.default
2929```
3030
31+ ### arch linux (aur)
32+
33+ ``` bash
34+ # with yay
35+ yay -S snitch-bin
36+
37+ # with paru
38+ paru -S snitch-bin
39+ ```
40+
3141### binary
3242
3343download from [ releases] ( https://github.com/karol-broda/snitch/releases ) :
You can’t perform that action at this time.
0 commit comments