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

Christian Rebischke shibumi at gemini.archlinux.org
Fri Dec 31 18:59:29 UTC 2021


    Date: Friday, December 31, 2021 @ 18:59:29
  Author: shibumi
Revision: 1091263

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-31 18:59:29 UTC (rev 1091262)
+++ PKGBUILD	2021-12-31 18:59:29 UTC (rev 1091263)
@@ -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.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"
-}

Copied: goreleaser/repos/community-x86_64/PKGBUILD (from rev 1091260, goreleaser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-31 18:59:29 UTC (rev 1091263)
@@ -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.5
+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=('58aa91b287155cea2eb5facca002a4d6922d62c850d10fba7e452bec8940752669dbf35c48607e3123b6f42a172a2fda1bab6112039020272d6a38fcbc266881')
+b2sums=('fe29a46d2e5c38b02754c1f84fbbd46253f59cbee3f4b85c58535f266e4c2384a932760589e199138c82a78b17af8af43292dbabc6f90c679d04a9506b11684c')
+
+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