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

Daniel M. Capella polyzen at gemini.archlinux.org
Fri Jul 15 04:32:00 UTC 2022


    Date: Friday, July 15, 2022 @ 04:32:00
  Author: polyzen
Revision: 1252804

archrelease: copy trunk to community-x86_64

Added:
  go-yq/repos/community-x86_64/PKGBUILD
    (from rev 1252803, 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-07-15 04:31:37 UTC (rev 1252803)
+++ PKGBUILD	2022-07-15 04:32:00 UTC (rev 1252804)
@@ -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.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:

Copied: go-yq/repos/community-x86_64/PKGBUILD (from rev 1252803, go-yq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-15 04:32:00 UTC (rev 1252804)
@@ -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.26.1
+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=('da2bb25b874880897f35a78ffb85ebf56d3e1df5ebea71c1ebd405deca4473c8ba074658b5af00b8140fcc598695bdde441383413ddc3b2800c23fee3919d5fe')
+
+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