Date: Thursday, May 18, 2023 @ 09:54:54 Author: foxboron Revision: 1463033
archrelease: copy trunk to community-x86_64 Added: cilium-cli/repos/community-x86_64/PKGBUILD (from rev 1463032, cilium-cli/trunk/PKGBUILD) Deleted: cilium-cli/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-05-18 09:54:47 UTC (rev 1463032) +++ PKGBUILD 2023-05-18 09:54:54 UTC (rev 1463033) @@ -1,35 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> - -pkgname=cilium-cli -pkgver=0.14.2 -pkgrel=1 -pkgdesc="install, manage & troubleshoot Kubernetes clusters running Cilium" -arch=("x86_64") -url="https://github.com/cilium/cilium-cli" -license=("APACHE") -depends=("glibc") -makedepends=("go") -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha256sums=('55121f5a074f540e96f8216f6e107499f57a11c279589400616d28971b0fe88b') - -build() { - cd "$pkgname-$pkgver" - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - export GOPATH="${srcdir}" - export GOFLAGS="-buildmode=pie -mod=vendor -modcacherw" - go build \ - -ldflags "-compressdwarf=false -linkmode external -X \"github.com/cilium/cilium-cli/internal/cli/cmd.Version=v${pkgver}\"" \ - -o ${pkgname} ./cmd/cilium -} - -package() { - cd "$pkgname-$pkgver" - install -Dm755 ${pkgname} -t "$pkgdir/usr/bin" - - ./cilium-cli completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/cilium-cli" - ./cilium-cli completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_cilium-cli" - ./cilium-cli completion fish | install -Dm644 /dev/stdin "$pkgdir/usr/share/fish/vendor_completions.d/cilium-cli.fish" -} Copied: cilium-cli/repos/community-x86_64/PKGBUILD (from rev 1463032, cilium-cli/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-05-18 09:54:54 UTC (rev 1463033) @@ -0,0 +1,35 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> + +pkgname=cilium-cli +pkgver=0.14.3 +pkgrel=1 +pkgdesc="install, manage & troubleshoot Kubernetes clusters running Cilium" +arch=("x86_64") +url="https://github.com/cilium/cilium-cli" +license=("APACHE") +depends=("glibc") +makedepends=("go") +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=('e940a30340249ab3934ac695a0e322b33d59468405ddb6ec1c75a78062ccef58') + +build() { + cd "$pkgname-$pkgver" + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOPATH="${srcdir}" + export GOFLAGS="-buildmode=pie -mod=vendor -modcacherw" + go build \ + -ldflags "-compressdwarf=false -linkmode external -X \"github.com/cilium/cilium-cli/internal/cli/cmd.Version=v${pkgver}\"" \ + -o ${pkgname} ./cmd/cilium +} + +package() { + cd "$pkgname-$pkgver" + install -Dm755 ${pkgname} -t "$pkgdir/usr/bin" + + ./cilium-cli completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/cilium-cli" + ./cilium-cli completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_cilium-cli" + ./cilium-cli completion fish | install -Dm644 /dev/stdin "$pkgdir/usr/share/fish/vendor_completions.d/cilium-cli.fish" +}