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

Daniel M. Capella polyzen at gemini.archlinux.org
Thu Jun 23 12:58:53 UTC 2022


    Date: Thursday, June 23, 2022 @ 12:58:52
  Author: polyzen
Revision: 1239257

archrelease: copy trunk to community-x86_64

Added:
  go-yq/repos/community-x86_64/PKGBUILD
    (from rev 1239256, go-yq/trunk/PKGBUILD)
Deleted:
  go-yq/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-23 12:58:28 UTC (rev 1239256)
+++ PKGBUILD	2022-06-23 12:58:52 UTC (rev 1239257)
@@ -1,52 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Mario Finelli <mario at finel dot li>
-
-pkgname=go-yq
-pkgver=4.25.2
-pkgrel=1
-pkgdesc='Portable command-line YAML processor'
-arch=('x86_64')
-url=https://github.com/mikefarah/yq
-license=('MIT')
-depends=('glibc')
-makedepends=('go')
-conflicts=('yq')
-source=("$url/archive/v$pkgver/yq-$pkgver.tar.gz")
-b2sums=('78e6ff09058d073205c17ba3dca7ba1504891a76a9fccde53178183c6b69903696e270205768ad6043d6f24686c61290e5a3f9ed3de1d0744f76e75f16eeb81a')
-
-prepare() {
-  cd yq-$pkgver
-  go mod vendor
-}
-
-build() {
-  cd yq-$pkgver
-  export CGO_CPPFLAGS="$CPPFLAGS"
-  export CGO_CFLAGS="$CFLAGS"
-  export CGO_CXXFLAGS="$CXXFLAGS"
-  export CGO_LDFLAGS="$LDFLAGS"
-  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -modcacherw"
-  go build .
-}
-
-check() {
-  cd yq-$pkgver
-  go test ./...
-}
-
-package() {
-  cd yq-$pkgver
-  install -Dt "$pkgdir"/usr/bin yq
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
-  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md
-
-  ./yq shell-completion bash | install -Dm644 /dev/stdin \
-    "$pkgdir"/usr/share/bash-completion/completions/yq
-  ./yq shell-completion zsh | install -Dm644 /dev/stdin \
-    "$pkgdir"/usr/share/zsh/site-functions/_yq
-  ./yq shell-completion fish | install -Dm644 /dev/stdin \
-    "$pkgdir"/usr/share/fish/vendor_completions.d/yq.fish
-}
-
-# vim:set ts=2 sw=2 et:

Copied: go-yq/repos/community-x86_64/PKGBUILD (from rev 1239256, go-yq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-23 12:58:52 UTC (rev 1239257)
@@ -0,0 +1,52 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Mario Finelli <mario at finel dot li>
+
+pkgname=go-yq
+pkgver=4.25.3
+pkgrel=1
+pkgdesc='Portable command-line YAML processor'
+arch=('x86_64')
+url=https://github.com/mikefarah/yq
+license=('MIT')
+depends=('glibc')
+makedepends=('go')
+conflicts=('yq')
+source=("$url/archive/v$pkgver/yq-$pkgver.tar.gz")
+b2sums=('dcefbcaafb4ecc66ca60c2e9958bcccc6ed96e5bef5792c6d0e159c7f1d51a573cb4f84f4c1cb4fc829f64360b8f5f04d95c3bd492737ae51931f4c651ac8295')
+
+prepare() {
+  cd yq-$pkgver
+  go mod vendor
+}
+
+build() {
+  cd yq-$pkgver
+  export CGO_CPPFLAGS="$CPPFLAGS"
+  export CGO_CFLAGS="$CFLAGS"
+  export CGO_CXXFLAGS="$CXXFLAGS"
+  export CGO_LDFLAGS="$LDFLAGS"
+  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -modcacherw"
+  go build .
+}
+
+check() {
+  cd yq-$pkgver
+  go test ./...
+}
+
+package() {
+  cd yq-$pkgver
+  install -Dt "$pkgdir"/usr/bin yq
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md
+
+  ./yq shell-completion bash | install -Dm644 /dev/stdin \
+    "$pkgdir"/usr/share/bash-completion/completions/yq
+  ./yq shell-completion zsh | install -Dm644 /dev/stdin \
+    "$pkgdir"/usr/share/zsh/site-functions/_yq
+  ./yq shell-completion fish | install -Dm644 /dev/stdin \
+    "$pkgdir"/usr/share/fish/vendor_completions.d/yq.fish
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list