summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fb0bbcf0db5e064c984127dfa585d21dc3778812 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Carlos Alexandro Becker <carlos@becker.software>

pkgname='goreleaser-pro-bin'
pkgver=2.4.8
pkgrel=1
pkgdesc='Deliver Go binaries as fast and easily as possible.'
url='https://goreleaser.com'
arch=('aarch64' 'i686' 'x86_64')
license=('Copyright Becker Software LTDA')
provides=('goreleaser' 'goreleaser-pro')
conflicts=('goreleaser' 'goreleaser-pro')

source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/goreleaser/goreleaser-pro/releases/download/v2.4.8-pro/goreleaser-pro_Linux_arm64.tar.gz")
sha256sums_aarch64=('9cd6eb216c7cfc460a6e5aeb0c8e3326e1266c927603ccf00b534ceb16d94f87')

source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://github.com/goreleaser/goreleaser-pro/releases/download/v2.4.8-pro/goreleaser-pro_Linux_i386.tar.gz")
sha256sums_i686=('848e8cee230182d72ed12600bac9b17cda646fd609e73a336b7ded0088374679')

source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/goreleaser/goreleaser-pro/releases/download/v2.4.8-pro/goreleaser-pro_Linux_x86_64.tar.gz")
sha256sums_x86_64=('a5118bf158637f4ca1a42b3efc8303e345094ec66ceb4cdeae272ffd5e58312a')

package() {
  # bin
  install -Dm755 "./goreleaser" "${pkgdir}/usr/bin/goreleaser"

  # license
  install -Dm644 "./LICENSE.md" "${pkgdir}/usr/share/licenses/goreleaser/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/goreleaser.bash" "${pkgdir}/usr/share/bash-completion/completions/goreleaser"
  install -Dm644 "./completions/goreleaser.zsh" "${pkgdir}/usr/share/zsh/site-functions/_goreleaser"
  install -Dm644 "./completions/goreleaser.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/goreleaser.fish"

  # man pages
  install -Dm644 "./manpages/goreleaser.1.gz" "${pkgdir}/usr/share/man/man1/goreleaser.1.gz"
}