Skip to content

Commit

Permalink
chore: prepare AUR package
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Kurfer committed Jun 18, 2024
1 parent c40dcad commit 81c22c9
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
GH_WINGET_PAT: ${{ secrets.GH_WINGET_PAT }}
GH_SCOOP_PAT: ${{ secrets.GH_SCOOP_PAT }}
NFPM_GIT_AGE_PASSPHRASE: ${{ secrets.NFPM_GIT_AGE_PASSPHRASE }}
AUR_KEY: ${{ secrets.AUR_SSH_KEY }}

- name: Upload RPM packages
run: |
Expand Down
31 changes: 31 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ archives:
files:
- src: out/man/git-age.1.gz
dst: docs/git-age.1.gz
- LICENSE

sboms:
- artifacts: binary
Expand Down Expand Up @@ -170,3 +171,33 @@ winget:
owner: microsoft
name: winget-pkgs
branch: master

aurs:
- name: git-age-bin
homepage: https://github.com/prskr/git-age
description: |
git-age is a smudge/clean filter to encrypt/decrypt files in a git repository transparently
maintainers:
- "Peter Kurfer <peter.kurfer@gmail.com>"
contributors:
- "Peter Kurfer <peter.kurfer@gmail.com>"
license: "MIT"
private_key: "{{ .Env.AUR_KEY }}"
git_url: "ssh://aur@aur.archlinux.org/git-age-bin.git"
provides:
- git-age
optdepends:
- git
package: |-
# bin
install -Dm755 "./git-age" "${pkgdir}/usr/bin/git-age"
# license
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/git-age/LICENSE"
# man pages
install -Dm644 "./docs/git-age.1.gz" "${pkgdir}/usr/share/man/man1/git-age.1.gz"
commit_author:
name: goreleaserbot
email: bot@goreleaser.com
commit_msg_template: 'chore: update to {{ .Tag }}'

0 comments on commit 81c22c9

Please sign in to comment.