Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
ci: add aur
Browse files Browse the repository at this point in the history
  • Loading branch information
jon4hz committed Aug 17, 2022
1 parent 6442724 commit 7a6a5df
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AUR_KEY: ${{ secrets.AUR_KEY }}
26 changes: 26 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,32 @@ nfpms:
- deb
- rpm

aurs:
-
name: dero-stratum-miner-bin
homepage: whalesburg.com
description: Dero Stratum Miner
maintainers:
- jon4hz <[email protected]>
license: custom
private_key: '{{ .Env.AUR_KEY }}'
git_url: 'ssh://[email protected]/dero-stratum-miner-bin.git'
package: |-
# bin
install -Dm755 "./dero-stratum-miner" "${pkgdir}/usr/bin/dero-stratum-miner"
# license
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/dero-stratum-miner/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/dero-stratum-miner.bash" "${pkgdir}/usr/share/bash-completion/completions/dero-stratum-miner"
install -Dm644 "./completions/dero-stratum-miner.zsh" "${pkgdir}/usr/share/zsh/site-functions/_dero-stratum-miner"
install -Dm644 "./completions/dero-stratum-miner.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/dero-stratum-miner.fish"
# man pages
install -Dm644 "./manpages/dero-stratum-miner.1.gz" "${pkgdir}/usr/share/man/man1/dero-stratum-miner.1.gz"
source:
enabled: true

Expand Down

0 comments on commit 7a6a5df

Please sign in to comment.