Skip to content

Commit

Permalink
try to publish to arch linux
Browse files Browse the repository at this point in the history
  • Loading branch information
pomdtr committed Nov 22, 2023
1 parent 1b60a10 commit 293c939
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ snapshot:
name_template: "{{ incpatch .Version }}-next"
brews:
- name: sunbeam
homepage: https://pomdtr.github.io/sunbeam
homepage: https://sunbeam.sh
repository:
owner: pomdtr
name: homebrew-tap
Expand All @@ -55,3 +55,25 @@ brews:
bash_completion.install "completions/sunbeam.bash"
zsh_completion.install "completions/sunbeam.zsh"
fish_completion.install "completions/sunbeam.fish"
aurs:
- name: sunbeam-bin
homepage: https://sunbeam.sh
description: Generate powerful UIs from simple scripts written in any language.
maintainers:
- "Achille Lacoin <[email protected]>"
license: MIT
private_key: "{{ .Env.AUR_KEY }}"
git_url: "ssh://[email protected]/sunbeam.git"
package: |-
# bin
install -Dm755 "./sunbeam" "${pkgdir}/usr/bin/sunbeam"
# license
install -Dm644 "./LICENSE-MIT" "${pkgdir}/usr/share/licenses/sunbeam/LICENSE"
# completions
mkdir -p "${pkgdir}/usr/share/bash-completion/completions/"
mkdir -p "${pkgdir}/usr/share/zsh/site-functions/"
mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/"
install -Dm644 "./completions/sunbeam.bash" "${pkgdir}/usr/share/bash-completion/completions/sunbeam"
install -Dm644 "./completions/sunbeam.zsh" "${pkgdir}/usr/share/zsh/site-functions/_sunbeam"
install -Dm644 "./completions/sunbeam.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/sunbeam.fish"
3 changes: 3 additions & 0 deletions www/frontend/docs/user-guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ brew install pomdtr/tap/sunbeam
# install script
curl -sSf https://install.sunbeam.sh | sh

# as a nix flake
nix shell github:pomdtr/sunbeam --command sunbeam

# from source
go install github.com/pomdtr/sunbeam@main
```
Expand Down

0 comments on commit 293c939

Please sign in to comment.