Date: Thursday, December 10, 2020 @ 01:53:28 Author: daurnimator Revision: 772963
archrelease: copy trunk to community-x86_64 Added: argocd-cli/repos/community-x86_64/PKGBUILD (from rev 772962, argocd-cli/trunk/PKGBUILD) Deleted: argocd-cli/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 88 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-12-10 01:52:45 UTC (rev 772962) +++ PKGBUILD 2020-12-10 01:53:28 UTC (rev 772963) @@ -1,44 +0,0 @@ -# Maintainer: Daurnimator <daurnima...@archlinux.org> - -pkgname=argocd-cli -pkgver=1.7.8 -pkgrel=1 -pkgdesc="Declarative continuous deployment for Kubernetes command line utility" -arch=('x86_64') -url='https://argoproj.github.io/argo-cd/' -license=('Apache') -makedepends=('go') -depends=('glibc') -source=("argo-cd-${pkgver}.tar.gz::https://github.com/argoproj/argo-cd/archive/v${pkgver}.tar.gz") -sha512sums=('2d3fe2f90188192769d4f6bdf28e36b6c7dfa98b21e2cd88c56e1a97e3ed4bcacc23b9e09a48a17872113571833fcaefa4a4f71726cf9bff71c9aa816045a05f') - -build() { - cd "argo-cd-$pkgver" - - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - go run github.com/gobuffalo/packr/packr build \ - -trimpath \ - -buildmode=pie \ - -mod=readonly \ - -modcacherw \ - -ldflags "-X github.com/argoproj/argo-cd/common.version=${pkgver} \ - -X github.com/argoproj/argo-cd/common.buildDate=$(date -u +'%Y-%m-%dT%H:%M:%SZ' --date=@${SOURCE_DATE_EPOCH}) \ - -X github.com/argoproj/argo-cd/common.gitTag=${pkgver} \ - -linkmode=external \ - -extldflags \"${LDFLAGS}\"" \ - ./cmd/argocd - - ./argocd completion bash > argocd.bash - ./argocd completion zsh > argocd.zsh -} - -package() { - cd "argo-cd-$pkgver" - - install -D argocd "$pkgdir/usr/bin/argocd" - install -Dm644 argocd.bash "$pkgdir/usr/share/bash-completion/completions/argocd" - install -Dm644 argocd.zsh "$pkgdir/usr/share/zsh/site-functions/_argocd" -} Copied: argocd-cli/repos/community-x86_64/PKGBUILD (from rev 772962, argocd-cli/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-10 01:53:28 UTC (rev 772963) @@ -0,0 +1,44 @@ +# Maintainer: Daurnimator <daurnima...@archlinux.org> + +pkgname=argocd-cli +pkgver=1.8.0 +pkgrel=1 +pkgdesc="Declarative continuous deployment for Kubernetes command line utility" +arch=('x86_64') +url='https://argoproj.github.io/argo-cd/' +license=('Apache') +makedepends=('go') +depends=('glibc') +source=("argo-cd-${pkgver}.tar.gz::https://github.com/argoproj/argo-cd/archive/v${pkgver}.tar.gz") +sha512sums=('d8f687a5ecae06e168a0f1354dfa6ab2203fc56924dddcbf97967e96ee3222b01d42065d91132b38ea43176aa06e690bde11012680fbc7d10ec2bc490e9238b0') + +build() { + cd "argo-cd-$pkgver" + + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + go run github.com/gobuffalo/packr/packr build \ + -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -ldflags "-X github.com/argoproj/argo-cd/common.version=${pkgver} \ + -X github.com/argoproj/argo-cd/common.buildDate=$(date -u +'%Y-%m-%dT%H:%M:%SZ' --date=@${SOURCE_DATE_EPOCH}) \ + -X github.com/argoproj/argo-cd/common.gitTag=${pkgver} \ + -linkmode=external \ + -extldflags \"${LDFLAGS}\"" \ + ./cmd/argocd + + ./argocd completion bash > argocd.bash + ./argocd completion zsh > argocd.zsh +} + +package() { + cd "argo-cd-$pkgver" + + install -D argocd "$pkgdir/usr/bin/argocd" + install -Dm644 argocd.bash "$pkgdir/usr/share/bash-completion/completions/argocd" + install -Dm644 argocd.zsh "$pkgdir/usr/share/zsh/site-functions/_argocd" +}