From b3daec7944d2d5de92935fd22c35ad64a1732218 Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Tue, 23 Jul 2024 05:39:42 -0700 Subject: [PATCH] release/AUR: Fix binary name (#285) 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. --- .goreleaser.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index e7872bfb..48052c2f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -41,8 +41,11 @@ aurs: git_url: "ssh://aur@aur.archlinux.org/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"