Skip to content

Commit

Permalink
feat(ci): generate aur package
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Oct 13, 2022
1 parent 4522bb5 commit 158b899
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ archives:
nfpms:
-
vendor: aymanbagabas
homepage: "https://aymanbagabas.com/"
homepage: "https://github.com/aymanbagabas/shcopy"
maintainer: "Ayman Bagabas <ayman.bagabas@gmail.com>"
description: "Copy text to clipboard from anywhere using ANSI OSC 52 sequence"
license: MIT
Expand All @@ -72,12 +72,30 @@ brews:
commit_author:
name: 'Ayman Bagabas'
email: 'ayman.bagabas@gmail.com'
homepage: 'https://aymanbagabas.com/'
homepage: 'https://github.com/aymanbagabas/shcopy'
description: 'Copy text to clipboard from anywhere using ANSI OSC 52 sequence'
install: |-
bin.install "{{ .ProjectName }}"
man1.install "manpages/{{ .ProjectName }}.1.gz"
aurs:
- maintainers: ['Ayman Bagabas <ayman.bagabas@gmail.com>']
description: 'Copy text to clipboard from anywhere using ANSI OSC 52 sequence'
name: '{{ .ProjectName }}-bin'
homepage: 'https://github.com/aymanbagabas/shcopy'
license: MIT
private_key: '{{ .Env.AUR_KEY }}'
git_url: 'ssh://aur@aur.archlinux.org/{{ .ProjectName }}-bin.git'
package: |-
# bin
install -Dm755 "./{{ .ProjectName }}" "${pkgdir}/usr/bin/{{ .ProjectName }}"
# license
mkdir -p "${pkgdir}/usr/share/licenses/{{ .ProjectName }}/"
install -Dm644 ./LICENSE* "${pkgdir}/usr/share/licenses/{{ .ProjectName }}/"
# man pages
install -Dm644 "./manpages/{{ .ProjectName }}.1.gz" "${pkgdir}/usr/share/man/man1/{{ .ProjectName }}.1.gz"
checksum:
name_template: 'checksums.txt'

Expand Down

0 comments on commit 158b899

Please sign in to comment.