summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5b8982144b050acc7fdd9d9cb4554eff712d20a0 (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.5.1
pkgrel=1
pkgdesc='Release engineering, simplified.'
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.5.1-pro/goreleaser-pro_Linux_arm64.tar.gz")
sha256sums_aarch64=('8eb0248ef6de046858e00ce268eccd49eb646f9e9d2d50d10cb90a4587738234')

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

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

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"
}