[arch-commits] Commit in goreleaser/repos/community-x86_64 (PKGBUILD PKGBUILD)

Christian Rebischke shibumi at gemini.archlinux.org
Thu Dec 30 00:51:50 UTC 2021


    Date: Thursday, December 30, 2021 @ 00:51:49
  Author: shibumi
Revision: 1088072

archrelease: copy trunk to community-x86_64

Added:
  goreleaser/repos/community-x86_64/PKGBUILD
    (from rev 1088071, goreleaser/trunk/PKGBUILD)
Deleted:
  goreleaser/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   74 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-30 00:51:44 UTC (rev 1088071)
+++ PKGBUILD	2021-12-30 00:51:49 UTC (rev 1088072)
@@ -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.2.2
-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=('388da49be65421ffd96981d8b51cf473766feb353b46ee273580d24ec56c18d07046e3e34086860e5af5a1c0b8882b5de9392d96a1b9b62364a931ffb2266ee2')
-b2sums=('7dabf72ddfa872f86187cc60aaa054bd3b8d3bed28f7a509f851dd95967413c08fa0fd8d58a2feb71e8d91175e74441f46ee706ce90a0f1d183711ea3fb3483f')
-
-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 1088071, goreleaser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-30 00:51:49 UTC (rev 1088072)
@@ -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.2.3
+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=('cdd16a7037fc572d07ba8a7e23a5d2faab0e7e01bbf3fe7e34726832fe273420abd3f0d010c25049f40700218d13e290837ab4fd454f12a08a14b80f9e2fd0ae')
+b2sums=('ed60234b16e08afa49f9d46788976f64e842e6480e7242306889799eb791a178ebc645a3eeb4032a04fa86364dc7e5a8cc17f08b3693ae6698b772a6cb5d4b09')
+
+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