[arch-commits] Commit in goreleaser/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Sat Jan 29 02:01:56 UTC 2022
Date: Saturday, January 29, 2022 @ 02:01:56
Author: shibumi
Revision: 1118653
archrelease: copy trunk to community-x86_64
Added:
goreleaser/repos/community-x86_64/PKGBUILD
(from rev 1118652, goreleaser/trunk/PKGBUILD)
Deleted:
goreleaser/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-29 02:01:50 UTC (rev 1118652)
+++ PKGBUILD 2022-01-29 02:01:56 UTC (rev 1118653)
@@ -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=1.3.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=('1548623e5e90e1218bd82840ab2e42ff7c7350a723809bb3193cadfb041a8068f6a9b998dce754cafdbaa499c1b164b04ce62dca43bc70ba03343cc29201231f')
-b2sums=('5c1ad0d4d04b1da9c23d6432bf2b70791b3cd7cfa21d7d7610bdb1b218e761dce4f3ec86d5e23a7e00ddfa468e02c63bbec9a71e945e274bcca6efbc7baa8891')
-
-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 -buildid='' -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 1118652, goreleaser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-29 02:01:56 UTC (rev 1118653)
@@ -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.4.1
+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=('cae0cbc04bbafea383fc14c287c4ea5670c2ac292f3a3c1da849f9243ef9ba0de5f6fb3e744eaa351038a97369a4680442f79d0e65e8a60105f32e3429f3d348')
+b2sums=('3d42ccc5452b32ee664a9418e3781e233edc5562d4d085532f67fca2e18e1f961232deccf396a4ca0b35a0e826f286e3fc09c2a44ab2230b0c5f2eb4626cf7b2')
+
+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 -buildid='' -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