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

Morten Linderud foxboron at archlinux.org
Wed Mar 17 22:17:33 UTC 2021


    Date: Wednesday, March 17, 2021 @ 22:17:33
  Author: foxboron
Revision: 894259

archrelease: copy trunk to community-x86_64

Added:
  helm/repos/community-x86_64/PKGBUILD
    (from rev 894258, helm/trunk/PKGBUILD)
Deleted:
  helm/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  107 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 58 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-17 22:17:24 UTC (rev 894258)
+++ PKGBUILD	2021-03-17 22:17:33 UTC (rev 894259)
@@ -1,49 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Lukas Grossar <lukas.grossar at gmail.com>
-# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
-# Contributor: Wayne Cheng <waynethecheng at gmail.com>
-# Contributor: Matthias Lisin <ml at visu.li>
-
-pkgname=helm
-pkgver=3.5.2
-pkgrel=1
-pkgdesc="The Kubernetes Package Manager"
-arch=("x86_64")
-url="https://helm.sh/"
-license=("Apache")
-depends=('glibc')
-makedepends=("go" "git")
-source=("git+https://github.com/helm/helm.git#tag=v${pkgver}?signed")
-validpgpkeys=('672C657BE06B4B30969C4A57461449C25E36B98E'
-              '967F8AC5E2216F9F4FD270AD92AA783CBAAE8E3B')
-sha256sums=('SKIP')
-
-pkgver() {
-  cd "${pkgname}"
-  git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-build() {
-    cd "${pkgname}"
-    export CGO_LDFLAGS="$LDFLAGS"
-    export CGO_CFLAGS="$CFLAGS"
-    export CGO_CXXFLAGS="$CXXFLAGS"
-    export CGO_CPPFLAGS="$CPPFLAGS"
-    make EXT_LDFLAGS="-linkmode external" GOFLAGS="-buildmode=pie -trimpath"
-}
-
-check(){
-    cd "${pkgname}"
-    export CGO_LDFLAGS="$LDFLAGS"
-    export CGO_CFLAGS="$CFLAGS"
-    export CGO_CXXFLAGS="$CXXFLAGS"
-    export CGO_CPPFLAGS="$CPPFLAGS"
-    make LDFLAGS="-s -w -linkmode external" GOFLAGS="-buildmode=pie -trimpath" test-unit
-}
-
-package(){
-    cd "${pkgname}"
-    install -Dm755 bin/helm -t "$pkgdir/usr/bin"
-    bin/helm completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/helm"
-    bin/helm completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_helm"
-}

Copied: helm/repos/community-x86_64/PKGBUILD (from rev 894258, helm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-17 22:17:33 UTC (rev 894259)
@@ -0,0 +1,58 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Lukas Grossar <lukas.grossar at gmail.com>
+# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
+# Contributor: Wayne Cheng <waynethecheng at gmail.com>
+# Contributor: Matthias Lisin <ml at visu.li>
+
+pkgname=helm
+pkgver=3.5.3
+pkgrel=1
+pkgdesc="The Kubernetes Package Manager"
+arch=("x86_64")
+url="https://helm.sh/"
+license=("Apache")
+depends=('glibc')
+makedepends=("go" "git")
+source=("git+https://github.com/helm/helm.git#tag=v${pkgver}?signed")
+validpgpkeys=('672C657BE06B4B30969C4A57461449C25E36B98E'
+              'CABAA8D44DFACA14791FBE9892C44A3D421FF7F9'
+              '967F8AC5E2216F9F4FD270AD92AA783CBAAE8E3B')
+sha256sums=('SKIP')
+
+pkgver() {
+  cd "${pkgname}"
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd "${pkgname}"
+  go mod tidy
+
+  # update test expectation for new template error string
+  git cherry-pick -n f57c01cd9365d7f50a7e3d69b8c75a687392e74c
+}
+
+build() {
+    cd "${pkgname}"
+    export CGO_LDFLAGS="$LDFLAGS"
+    export CGO_CFLAGS="$CFLAGS"
+    export CGO_CXXFLAGS="$CXXFLAGS"
+    export CGO_CPPFLAGS="$CPPFLAGS"
+    make EXT_LDFLAGS="-linkmode external" GOFLAGS="-buildmode=pie -trimpath"
+}
+
+check(){
+    cd "${pkgname}"
+    export CGO_LDFLAGS="$LDFLAGS"
+    export CGO_CFLAGS="$CFLAGS"
+    export CGO_CXXFLAGS="$CXXFLAGS"
+    export CGO_CPPFLAGS="$CPPFLAGS"
+    make LDFLAGS="-s -w -linkmode external" GOFLAGS="-buildmode=pie -trimpath" test-unit
+}
+
+package(){
+    cd "${pkgname}"
+    install -Dm755 bin/helm -t "$pkgdir/usr/bin"
+    bin/helm completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/helm"
+    bin/helm completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_helm"
+}



More information about the arch-commits mailing list