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

Daniel M. Capella polyzen at gemini.archlinux.org
Mon Nov 15 15:47:26 UTC 2021


    Date: Monday, November 15, 2021 @ 15:47:26
  Author: polyzen
Revision: 1048305

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-15 15:47:03 UTC (rev 1048304)
+++ PKGBUILD	2021-11-15 15:47:26 UTC (rev 1048305)
@@ -1,51 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Mario Finelli <mario at finel dot li>
-
-pkgname=go-yq
-pkgver=4.14.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=('4766b2c36f4d3580d8336d00f720ecbf0fd83ab2e10a181331eb0bf2ee43d61a368c13fdd0f05cdb0d27a1eb4f0143680c4cfed78fa36f0117a9d38e5c6c76b3')
-
-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 1048304, go-yq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-15 15:47:26 UTC (rev 1048305)
@@ -0,0 +1,51 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Mario Finelli <mario at finel dot li>
+
+pkgname=go-yq
+pkgver=4.14.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=('d6d085a16f3f5ac1c1a0bb118e9ddfe412acb5d822a802d76577b664f0752638179ddc41418b9616da6913ba405b76331bb80960b0e6a82ab78923f3d3550e52')
+
+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