[arch-commits] Commit in goreleaser/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Sun Nov 14 17:51:47 UTC 2021
Date: Sunday, November 14, 2021 @ 17:51:46
Author: shibumi
Revision: 1047558
archrelease: copy trunk to community-x86_64
Added:
goreleaser/repos/community-x86_64/PKGBUILD
(from rev 1047557, goreleaser/trunk/PKGBUILD)
Deleted:
goreleaser/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-14 17:51:41 UTC (rev 1047557)
+++ PKGBUILD 2021-11-14 17:51:46 UTC (rev 1047558)
@@ -1,37 +0,0 @@
-# Maintainer : Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Fernandez Ludovic <lfernandez dot dev at gmail dot com>
-
-pkgname='goreleaser'
-pkgver=0.184.0
-pkgrel=1
-pkgdesc='Deliver Go binaries as fast and easily as possible'
-url='https://goreleaser.com'
-arch=('x86_64')
-license=('MIT')
-depends=('glibc')
-makedepends=('git' 'go')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/goreleaser/goreleaser/archive/v${pkgver}.tar.gz")
-sha512sums=('0c0f2f3e45d1f9e07c179ae09f1fb6149a3723d24472c31f483ec2b777ea5d97fc2e185ca958b6412168607b89b394343d67f066ab31a75ac6992ea27bf8d3cc')
-b2sums=('44f6db78db9c2b70943a2ffdd2454a416ac5d88047860ff9ab096e4e169eb7908c036809988b0d99f989b565e4614aa22f2ae2adef08c98502e531b0adfac8f8')
-
-build() {
- cd "${pkgname}-${pkgver}"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
- go build -ldflags="-w -s -linkmode=external -X main.version=${pkgver}" .
- chmod +x ./goreleaser
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- install -Dsm755 ./goreleaser "${pkgdir}/usr/bin/goreleaser"
- 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/"
- ./goreleaser completion bash > "${pkgdir}/usr/share/bash-completion/completions/goreleaser"
- ./goreleaser completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_goreleaser"
- ./goreleaser completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/goreleaser.fish"
-}
Copied: goreleaser/repos/community-x86_64/PKGBUILD (from rev 1047557, goreleaser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-14 17:51:46 UTC (rev 1047558)
@@ -0,0 +1,37 @@
+# Maintainer : Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Fernandez Ludovic <lfernandez dot dev at gmail dot com>
+
+pkgname='goreleaser'
+pkgver=1.0.0
+pkgrel=1
+pkgdesc='Deliver Go binaries as fast and easily as possible'
+url='https://goreleaser.com'
+arch=('x86_64')
+license=('MIT')
+depends=('glibc')
+makedepends=('git' 'go')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/goreleaser/goreleaser/archive/v${pkgver}.tar.gz")
+sha512sums=('5bab85717b91ea3245ff532bede24659c477f55c45c50e2f786ab270454a434ddf0bbd461a8509a0b8ca884364842e244634ff1d56f3e25b8e2efbb6935c7950')
+b2sums=('0793ddac2bd67e93ed55a574fe086105a78f55e0d97d0ce3733546525ddda287dc96f04335abe5610d1cd9530f776c01975ad565316b5e4d5803571c9a6f0585')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ go build -ldflags="-w -s -linkmode=external -X main.version=${pkgver}" .
+ chmod +x ./goreleaser
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ install -Dsm755 ./goreleaser "${pkgdir}/usr/bin/goreleaser"
+ 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/"
+ ./goreleaser completion bash > "${pkgdir}/usr/share/bash-completion/completions/goreleaser"
+ ./goreleaser completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_goreleaser"
+ ./goreleaser completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/goreleaser.fish"
+}
More information about the arch-commits
mailing list