blob: 7d5c42698be485f3071873fe4f33db058a068848 (
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.124.1
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=('f70f95817ca5992283731d20559ccbda9f0279cd3e6c335caa3013e5d9b3416c')
source_i686=("${pkgname}_${pkgver}_linux_i386.tar.gz::${_basedownloadurl}/${pkgname}_linux_i386.tar.gz")
sha256sums_i686=('3d4d305c4f80e724b7c05e9f654604c449754603066000a7e9b072c6e314ff63')
source_aarch64=("${pkgname}_${pkgver}_linux_arm64.tar.gz::${_basedownloadurl}/${pkgname}_linux_arm64.tar.gz")
sha256sums_aarch64=('abfa71be1ab1ae5155554a01647c15a8e84ed585de53ad6f07d8ad038d840136')
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"
}
|