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

Christian Rebischke shibumi at gemini.archlinux.org
Fri Aug 12 18:17:19 UTC 2022


    Date: Friday, August 12, 2022 @ 18:17:19
  Author: shibumi
Revision: 1265639

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-12 18:17:13 UTC (rev 1265638)
+++ PKGBUILD	2022-08-12 18:17:19 UTC (rev 1265639)
@@ -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.9.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=('a865c74676899d251a175ebc7934572b8d0d8fe0ef619da68979e8d4bfe80f012bfcf12ca56bce1f3f85cacc7c7c31a7bdb7b9511f2bc995845c45a4ba69c8a0')
-b2sums=('89175d2738b8398be6a6f306d58f8079d46cb09831fa43d6fa15761986c28edd355b2730c344735ed4e193f275e72b7bc9e53effd63e61da78f1e366bfd31b75')
-
-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 1265638, goreleaser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-12 18:17:19 UTC (rev 1265639)
@@ -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.10.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=('eeb4267d126cc7bf8256aad00a5925f726edb198ac515b31687a95468bcfda83a9b30899053644424fd5acb09e393908f09eb8a0c044b9c83e1f4f25fda25eec')
+b2sums=('19bedaeb63b88293b0dfca7e8aefb4bb3e8d510c960867de02a9b1de369d4a59c3b0b0ff587fc727c4bd404c0c379ff6c5c48cf0a6954541b207cbf7748bf4a3')
+
+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