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

Daniel M. Capella polyzen at gemini.archlinux.org
Mon Aug 1 16:50:00 UTC 2022


    Date: Monday, August 1, 2022 @ 16:49:59
  Author: polyzen
Revision: 1259671

archrelease: copy trunk to community-x86_64

Added:
  go-yq/repos/community-x86_64/PKGBUILD
    (from rev 1259670, 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-08-01 16:49:36 UTC (rev 1259670)
+++ PKGBUILD	2022-08-01 16:49:59 UTC (rev 1259671)
@@ -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.27.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=('53ce2289b04925898537e5987fb061531a3fb9921398a180350fb32e9023837d65b858ed2afc659f254694dd226a4fe2f469dafe92155fc59f0868112aecf260')
-
-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 1259670, go-yq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-01 16:49:59 UTC (rev 1259671)
@@ -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.27.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=('2fa6d8e642136617c3691111612db610971bfbd49f13f35fcfc95628f79c01b4fa9fbee4f911441fade47609b779a2c1b003aea5811894b4092eb6ec6d416bac')
+
+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