blob: c718b0b9e6592911cac0cfa5d4ad5376a57d5462 (
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
|
# Maintainer: Fernandez Ludovic <lfernandez dot dev at gmail dot com>
pkgname='goreleaser'
pkgver=v0.120.2
pkgrel=1
pkgdesc='Deliver Go binaries as fast and easily as possible'
url='https://goreleaser.com'
arch=('x86_64' 'i686' 'aarch64')
license=('MIT')
depends=()
makedepends=()
optdepends=('nfpm: deb and rpm packager'
'snapcraft: snap packager')
_basedownloadurl="https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/"
source_x86_64=("${pkgname}_${pkgver}_linux_x86_64.tar.gz::${_basedownloadurl}/${pkgname}_linux_x86_64.tar.gz")
sha256sums_x86_64=('607aa85b78a721e76abe92f210fedd8dd477f715fc9593777d7f2d281d63e9df')
source_i686=("${pkgname}_${pkgver}_linux_i386.tar.gz::${_basedownloadurl}/${pkgname}_linux_i386.tar.gz")
sha256sums_i686=('aea06544380fe3cc84624ea42d6485e1a67bc5f131ac8664eee5d1b122cbef0b')
source_aarch64=("${pkgname}_${pkgver}_linux_arm64.tar.gz::${_basedownloadurl}/${pkgname}_linux_arm64.tar.gz")
sha256sums_aarch64=('c30f2347520f86d1e7ac48376aae6a39b4cb7fb228daf5135706119cc3a853bb')
package() {
# Bin
rm -f "${pkgdir}/usr/bin/${pkgname}"
install -Dm755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
# License
install -Dm644 "${srcdir}/LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|