Date: Saturday, January 14, 2023 @ 03:47:48
Author: polyzen
Revision: 1383358
archrelease: copy trunk to community-x86_64
Added:
go-yq/repos/community-x86_64/PKGBUILD
(from rev 1383357, go-yq/trunk/PKGBUILD)
Deleted:
go-yq/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-14 03:47:27 UTC (rev 1383357)
+++ PKGBUILD 2023-01-14 03:47:48 UTC (rev 1383358)
@@ -1,52 +0,0 @@
-# Maintainer: Daniel M. Capella <[email protected]>
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Mario Finelli <mario at finel dot li>
-
-pkgname=go-yq
-pkgver=4.30.6
-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=('c507d12c1f1d23b328ae605f3f5c1627e9ef284fdbcc5667b9f5b06ac2ea0796e8ecfe591a1ada81db882cc17bb72486a22cc7493604c03e8b077cd432163842')
-
-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 1383357,
go-yq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-14 03:47:48 UTC (rev 1383358)
@@ -0,0 +1,52 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Mario Finelli <mario at finel dot li>
+
+pkgname=go-yq
+pkgver=4.30.7
+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=('50d3142dc2ef42a6eeb4a76ccceba8471667c8aa568f131f9675f0f5fa4b05d6681fb19c4e5923c43e07a1eb3180c230f3cc6473e0bfe04037e7f12f0867bffa')
+
+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: