[arch-commits] Commit in argocd/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daurnimator
daurnimator at archlinux.org
Wed Jun 23 14:08:11 UTC 2021
Date: Wednesday, June 23, 2021 @ 14:08:11
Author: daurnimator
Revision: 967069
archrelease: copy trunk to community-x86_64
Added:
argocd/repos/community-x86_64/PKGBUILD
(from rev 967068, argocd/trunk/PKGBUILD)
Deleted:
argocd/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-23 14:07:38 UTC (rev 967068)
+++ PKGBUILD 2021-06-23 14:08:11 UTC (rev 967069)
@@ -1,52 +0,0 @@
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-
-pkgname=argocd
-pkgver=2.0.4
-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=('6449907433b0a2ee133692e09f843f5097ff8139bd0a042bc755bf1014dead021938fee87be677dae8a9f9f6b54133d71abde0412a41f89da30edef3713afa79')
-
-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"
-}
Copied: argocd/repos/community-x86_64/PKGBUILD (from rev 967068, argocd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-06-23 14:08:11 UTC (rev 967069)
@@ -0,0 +1,52 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+
+pkgname=argocd
+pkgver=2.0.4
+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=('6449907433b0a2ee133692e09f843f5097ff8139bd0a042bc755bf1014dead021938fee87be677dae8a9f9f6b54133d71abde0412a41f89da30edef3713afa79')
+
+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