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

Christian Rebischke shibumi at gemini.archlinux.org
Thu Dec 23 10:48:43 UTC 2021


    Date: Thursday, December 23, 2021 @ 10:48:43
  Author: shibumi
Revision: 1083039

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-23 10:48:38 UTC (rev 1083038)
+++ PKGBUILD	2021-12-23 10:48:43 UTC (rev 1083039)
@@ -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.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=('01165be4ce6983f044cf8c7ddd97cd3aa25bb5642dbb1953a60d619abc708031bdd7c279936a33980443853cb568ebf8b00f72cc2c580b8f81a11c0f59674f25')
-b2sums=('4bcccf95316b15fa6e38ef5bc3bf07964b013e268018dea9a8daecd3b8ee1cefa7c866e6562f8bafa5906a5bbb49f08c62339c16408be67e220025754f43b16a')
-
-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 1083038, goreleaser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-23 10:48:43 UTC (rev 1083039)
@@ -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.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"
+}



More information about the arch-commits mailing list