Skip to content

Commit

Permalink
release/AUR: Fix binary name (#285)
Browse files Browse the repository at this point in the history
Fix the AUR binary name: it's 'gs', not git-spice,
and add ghostscript as a conflicting package
because it also provides a 'gs' binary.

[skip changelog]: Issue fixed in existing AUR manually.
  • Loading branch information
abhinav authored Jul 23, 2024
1 parent 6c7c1ce commit b3daec7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,11 @@ aurs:
git_url: "ssh://[email protected]/git-spice-bin.git"
skip_upload: auto
private_key: '{{ .Env.AUR_KEY }}'
conflicts:
- git-spice # no non-bin package exists yet, but just in case
- ghostscript # ghostscript also provides a 'gs' binary
package: |-
install -Dm755 "./git-spice" "${pkgdir}/usr/bin/gs"
install -Dm755 "./gs" "${pkgdir}/usr/bin/gs"
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/git-spice/LICENSE"
install -Dm644 "./README.md" "${pkgdir}/usr/share/doc/git-spice/README.md"
install -Dm644 "./CHANGELOG.md" "${pkgdir}/usr/share/doc/git-spice/CHANGELOG.md"
Expand Down

0 comments on commit b3daec7

Please sign in to comment.