Date: Sunday, February 20, 2022 @ 04:29:12 Author: polyzen Revision: 1135184
archrelease: copy trunk to community-x86_64 Added: go-yq/repos/community-x86_64/PKGBUILD (from rev 1135183, go-yq/trunk/PKGBUILD) Deleted: go-yq/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 102 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 51 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-02-20 04:28:47 UTC (rev 1135183) +++ PKGBUILD 2022-02-20 04:29:12 UTC (rev 1135184) @@ -1,51 +0,0 @@ -# Maintainer: Daniel M. Capella <poly...@archlinux.org> -# Contributor: Mario Finelli <mario at finel dot li> - -pkgname=go-yq -pkgver=4.20.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=('0e489c71b0f777f83c005102d7b06b9f507ea16a8ee90b4ab7c0b296f85e4513629dadfa02c82bcb9228e03d08f127488b43b3079aabef50a43593804f4eb2d0') - -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 1135183, go-yq/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-02-20 04:29:12 UTC (rev 1135184) @@ -0,0 +1,51 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> +# Contributor: Mario Finelli <mario at finel dot li> + +pkgname=go-yq +pkgver=4.20.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=('26a13040f5820eb6436edf7909d424da5c5c4a9066ca63e7fe8553e05c00d5841aaf8cea7a3c55ecd1f0cc54849c0e1e1504f82e90187831aef29728f56343c1') + +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: