[arch-commits] Commit in argocd/repos/community-x86_64 (PKGBUILD PKGBUILD)

Daurnimator daurnimator at archlinux.org
Fri May 28 09:24:39 UTC 2021


    Date: Friday, May 28, 2021 @ 09:24:39
  Author: daurnimator
Revision: 949268

archrelease: copy trunk to community-x86_64

Added:
  argocd/repos/community-x86_64/PKGBUILD
    (from rev 949267, argocd/trunk/PKGBUILD)
Deleted:
  argocd/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-28 09:24:25 UTC (rev 949267)
+++ PKGBUILD	2021-05-28 09:24:39 UTC (rev 949268)
@@ -1,52 +0,0 @@
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-
-pkgname=argocd
-pkgver=2.0.1
-pkgrel=1
-pkgdesc="Declarative continuous deployment for Kubernetes"
-arch=('x86_64')
-url='https://argo-cd.readthedocs.io/en/stable/'
-license=('Apache')
-makedepends=('go')
-depends=('glibc')
-provides=('argocd-cli')
-replaces=('argocd-cli')
-source=("argo-cd-${pkgver}.tar.gz::https://github.com/argoproj/argo-cd/archive/v${pkgver}.tar.gz")
-sha512sums=('ce28bd01a1f9c94f2352fb976cdb44cc8268e0e28a125700bfacc148dfb89497cf47e4034947f57b8ab16c9ee9c6027060abb9c4b227f8a454a632a2178fdae6')
-
-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 -o argocd \
-    -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 completion bash > argocd.bash
-  ./argocd completion zsh > argocd.zsh
-}
-
-package() {
-  cd "argo-cd-$pkgver"
-
-  install -D argocd "$pkgdir/usr/bin/argocd"
-  ln -s argocd "$pkgdir/usr/bin/argocd-util"
-  ln -s argocd "$pkgdir/usr/bin/argocd-server"
-  ln -s argocd "$pkgdir/usr/bin/argocd-repo-server"
-  ln -s argocd "$pkgdir/usr/bin/argocd-application-controller"
-  ln -s argocd "$pkgdir/usr/bin/argocd-dex"
-
-  install -Dm644 argocd.bash "$pkgdir/usr/share/bash-completion/completions/argocd"
-  install -Dm644 argocd.zsh "$pkgdir/usr/share/zsh/site-functions/_argocd"
-}

Copied: argocd/repos/community-x86_64/PKGBUILD (from rev 949267, argocd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-28 09:24:39 UTC (rev 949268)
@@ -0,0 +1,52 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+
+pkgname=argocd
+pkgver=2.0.3
+pkgrel=1
+pkgdesc="Declarative continuous deployment for Kubernetes"
+arch=('x86_64')
+url='https://argo-cd.readthedocs.io/en/stable/'
+license=('Apache')
+makedepends=('go')
+depends=('glibc')
+provides=('argocd-cli')
+replaces=('argocd-cli')
+source=("argo-cd-${pkgver}.tar.gz::https://github.com/argoproj/argo-cd/archive/v${pkgver}.tar.gz")
+sha512sums=('5450175ee2d1eda09f07d33d6979c70df78a27958a68d0a4daf76913f92dc00b151384b2f4f8329fb20085558ff1b9cb39383bbf6c1509a85915af6c9a63f626')
+
+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 -o argocd \
+    -trimpath \
+    -buildmode=pie \
+    -mod=readonly \
+    -modcacherw \
+    -ldflags "-X github.com/argoproj/argo-cd/v2/common.version=${pkgver} \
+              -X github.com/argoproj/argo-cd/v2/common.buildDate=$(date -u +'%Y-%m-%dT%H:%M:%SZ' --date=@${SOURCE_DATE_EPOCH}) \
+              -X github.com/argoproj/argo-cd/v2/common.gitTag=${pkgver} \
+              -linkmode=external \
+              -extldflags \"${LDFLAGS}\"" \
+    ./cmd
+
+  ./argocd completion bash > argocd.bash
+  ./argocd completion zsh > argocd.zsh
+}
+
+package() {
+  cd "argo-cd-$pkgver"
+
+  install -D argocd "$pkgdir/usr/bin/argocd"
+  ln -s argocd "$pkgdir/usr/bin/argocd-util"
+  ln -s argocd "$pkgdir/usr/bin/argocd-server"
+  ln -s argocd "$pkgdir/usr/bin/argocd-repo-server"
+  ln -s argocd "$pkgdir/usr/bin/argocd-application-controller"
+  ln -s argocd "$pkgdir/usr/bin/argocd-dex"
+
+  install -Dm644 argocd.bash "$pkgdir/usr/share/bash-completion/completions/argocd"
+  install -Dm644 argocd.zsh "$pkgdir/usr/share/zsh/site-functions/_argocd"
+}



More information about the arch-commits mailing list