[arch-commits] Commit in argocd-cli/repos (4 files)
Daurnimator
daurnimator at archlinux.org
Mon Jul 6 15:15:07 UTC 2020
Date: Monday, July 6, 2020 @ 15:15:04
Author: daurnimator
Revision: 658035
archrelease: copy trunk to community-x86_64
Added:
argocd-cli/repos/community-x86_64/
argocd-cli/repos/community-x86_64/PKGBUILD
(from rev 658034, argocd-cli/trunk/PKGBUILD)
argocd-cli/repos/community-x86_64/argocd.bash
(from rev 658034, argocd-cli/trunk/argocd.bash)
argocd-cli/repos/community-x86_64/argocd.zsh
(from rev 658034, argocd-cli/trunk/argocd.zsh)
-------------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
argocd.bash | 1 +
argocd.zsh | 3 +++
3 files changed, 49 insertions(+)
Copied: argocd-cli/repos/community-x86_64/PKGBUILD (from rev 658034, argocd-cli/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-07-06 15:15:04 UTC (rev 658035)
@@ -0,0 +1,45 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+
+pkgname=argocd-cli
+pkgver=1.6.1
+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"
+ "argocd.bash"
+ "argocd.zsh")
+sha512sums=('1a01fbb16dc05abc7f8a56e1b2b3fe8f1b093823d482ee00005ca842f6943b253ae9548a6667cf2ac1aa89e24ebca5825b53a20a0e8031c6167055cc55ae45e6'
+ '5e751e78965b00f767aff90df435aba57aefa6f6d599807ddfda243ff95e0366636da2b2b5af2e9b389ab9efec23ee049f27e6a7defb8d3cb308693495b8a762'
+ '28568c83720793cdb5e77ec9c4aa5f1f4757ed665e84d807b8a4fe8377497f462fd33faf4bf076cf0a910e6b4d756ab31d66b1cf5643a3744bd0fa2b62287754')
+
+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} \
+ -extldflags ${LDFLAGS}" \
+ ./cmd/argocd
+}
+
+package() {
+ install -Dm644 argocd.bash "$pkgdir/usr/share/bash-completion/completions/argocd"
+ install -Dm644 argocd.zsh "$pkgdir/usr/share/zsh/site-functions/_argocd"
+
+ cd "argo-cd-$pkgver"
+
+ install -D argocd "$pkgdir/usr/bin/argocd"
+}
Copied: argocd-cli/repos/community-x86_64/argocd.bash (from rev 658034, argocd-cli/trunk/argocd.bash)
===================================================================
--- community-x86_64/argocd.bash (rev 0)
+++ community-x86_64/argocd.bash 2020-07-06 15:15:04 UTC (rev 658035)
@@ -0,0 +1 @@
+source <(argocd completion bash)
Copied: argocd-cli/repos/community-x86_64/argocd.zsh (from rev 658034, argocd-cli/trunk/argocd.zsh)
===================================================================
--- community-x86_64/argocd.zsh (rev 0)
+++ community-x86_64/argocd.zsh 2020-07-06 15:15:04 UTC (rev 658035)
@@ -0,0 +1,3 @@
+#compdef argocd
+
+source <(argocd completion zsh)
More information about the arch-commits
mailing list