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

Christian Rebischke shibumi at gemini.archlinux.org
Thu Jan 13 18:49:07 UTC 2022


    Date: Thursday, January 13, 2022 @ 18:49:07
  Author: shibumi
Revision: 1101939

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-13 18:48:49 UTC (rev 1101938)
+++ PKGBUILD	2022-01-13 18:49:07 UTC (rev 1101939)
@@ -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.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"
-}

Copied: goreleaser/repos/community-x86_64/PKGBUILD (from rev 1101938, goreleaser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-13 18:49:07 UTC (rev 1101939)
@@ -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.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"
+}



More information about the arch-commits mailing list