[arch-commits] Commit in go-yq/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Mon Oct 11 04:06:53 UTC 2021
Date: Monday, October 11, 2021 @ 04:06:53
Author: polyzen
Revision: 1029384
archrelease: copy trunk to community-x86_64
Added:
go-yq/repos/community-x86_64/PKGBUILD
(from rev 1029383, 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-10-11 04:06:35 UTC (rev 1029383)
+++ PKGBUILD 2021-10-11 04:06:53 UTC (rev 1029384)
@@ -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.13.3
-pkgrel=2
-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=('159fc2840eaa71835a7de09b200f94526d2749834594fed77756e3c60c60bfaddb5fa8759f60736bad881939adf1461b6c9fa6aeb86c233ac58b4685f9d0fc52')
-
-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 1029383, go-yq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-10-11 04:06:53 UTC (rev 1029384)
@@ -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.13.4
+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=('cf44bbb1fec97a0dd23872866b2bd68d7bf06630f9fa3a1538128cbd8524207f0e9d8166f91b6e8492116fdafb540d77a12b9d4531679b26bd5c6c28cb69dfd1')
+
+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