[arch-commits] Commit in argocd-cli/repos/community-x86_64 (4 files)

Daurnimator daurnimator at archlinux.org
Sat Nov 14 23:40:18 UTC 2020


    Date: Saturday, November 14, 2020 @ 23:40:18
  Author: daurnimator
Revision: 754266

archrelease: copy trunk to community-x86_64

Added:
  argocd-cli/repos/community-x86_64/PKGBUILD
    (from rev 754264, argocd-cli/trunk/PKGBUILD)
Deleted:
  argocd-cli/repos/community-x86_64/PKGBUILD
  argocd-cli/repos/community-x86_64/argocd.bash
  argocd-cli/repos/community-x86_64/argocd.zsh

-------------+
 PKGBUILD    |   90 ++++++++++++++++++++++++++++------------------------------
 argocd.bash |    1 
 argocd.zsh  |    3 -
 3 files changed, 44 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-14 23:40:10 UTC (rev 754265)
+++ PKGBUILD	2020-11-14 23:40:18 UTC (rev 754266)
@@ -1,46 +0,0 @@
-# Maintainer: Daurnimator <daurnimator at 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"
-        "argocd.bash"
-        "argocd.zsh")
-sha512sums=('2d3fe2f90188192769d4f6bdf28e36b6c7dfa98b21e2cd88c56e1a97e3ed4bcacc23b9e09a48a17872113571833fcaefa4a4f71726cf9bff71c9aa816045a05f'
-            '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} \
-              -linkmode=external \
-              -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/PKGBUILD (from rev 754264, argocd-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-14 23:40:18 UTC (rev 754266)
@@ -0,0 +1,44 @@
+# Maintainer: Daurnimator <daurnimator at 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"
+}

Deleted: argocd.bash
===================================================================
--- argocd.bash	2020-11-14 23:40:10 UTC (rev 754265)
+++ argocd.bash	2020-11-14 23:40:18 UTC (rev 754266)
@@ -1 +0,0 @@
-source <(argocd completion bash)

Deleted: argocd.zsh
===================================================================
--- argocd.zsh	2020-11-14 23:40:10 UTC (rev 754265)
+++ argocd.zsh	2020-11-14 23:40:18 UTC (rev 754266)
@@ -1,3 +0,0 @@
-#compdef argocd
-
-source <(argocd completion zsh)



More information about the arch-commits mailing list