Date: Sunday, March 26, 2023 @ 01:12:34
Author: polyzen
Revision: 1428214
archrelease: copy trunk to community-x86_64
Added:
go-yq/repos/community-x86_64/PKGBUILD
(from rev 1428213, 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-03-26 01:12:15 UTC (rev 1428213)
+++ PKGBUILD 2023-03-26 01:12:34 UTC (rev 1428214)
@@ -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.32.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=('e25decfb467074e7b62a1786dc67efc8ca36693022c2cf8c17890e6ff278466f39b7b02ee0eaa5d3703a8a8feff62fbb419e273d56b2d5e347dc0ee9352f033c')
-
-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 1428213,
go-yq/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-26 01:12:34 UTC (rev 1428214)
@@ -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.33.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=('e40113b7bed95f5e7f9e645a3e6082a428e4bf255216a3ecbccfff1139986b01e56367b03a71933a34382814bf45e5b9477859b52954eb54848a2aadbd511821')
+
+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: