[arch-commits] Commit in go-yq/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Wed Nov 24 08:25:19 UTC 2021
Date: Wednesday, November 24, 2021 @ 08:25:19
Author: polyzen
Revision: 1054618
archrelease: copy trunk to community-x86_64
Added:
go-yq/repos/community-x86_64/PKGBUILD
(from rev 1054617, 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-24 08:24:54 UTC (rev 1054617)
+++ PKGBUILD 2021-11-24 08:25:19 UTC (rev 1054618)
@@ -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.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:
Copied: go-yq/repos/community-x86_64/PKGBUILD (from rev 1054617, go-yq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-24 08:25:19 UTC (rev 1054618)
@@ -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.15.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=('4609650e6a1c7c0a0bf8113e7800f232588393282cc7c532b7244ff81884f7236e4ac6ba3726e3ef35bbdfd17e387a93eb5d8b21a9483b0f8c92ec8f0541a727')
+
+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