[arch-commits] Commit in helm/trunk (PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sun Aug 16 20:35:03 UTC 2020
Date: Sunday, August 16, 2020 @ 20:35:02
Author: foxboron
Revision: 681899
upgpkg: helm 3.3.0-1
Modified:
helm/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-16 20:25:57 UTC (rev 681898)
+++ PKGBUILD 2020-08-16 20:35:02 UTC (rev 681899)
@@ -5,7 +5,7 @@
# Contributor: Matthias Lisin <ml at visu.li>
pkgname=helm
-pkgver=3.2.4
+pkgver=3.3.0
pkgrel=1
pkgdesc="The Kubernetes Package Manager"
arch=("x86_64")
@@ -13,11 +13,13 @@
license=("Apache")
depends=('glibc')
makedepends=("go" "git")
-_commit=0ad800ef43d3b826f31a5ad8dfbb4fe05d143688
-source=("git+https://github.com/helm/helm.git#commit=$_commit?signed")
+_commit=8a4aeec08d67a7b84472007529e8097ec3742105
+source=("git+https://github.com/helm/helm.git#commit=$_commit?signed"
+ "go1.15-compat.patch::https://github.com/helm/helm/commit/83a5e620d0acde77502b1f814f749268e8d8ef6e.patch")
validpgpkeys=('672C657BE06B4B30969C4A57461449C25E36B98E'
'967F8AC5E2216F9F4FD270AD92AA783CBAAE8E3B')
-sha256sums=('SKIP')
+sha256sums=('SKIP'
+ '1ae04b9cc2641ef068ce6ad8fe1b29f4177e1451489cd4a7316bf566659d2da8')
pkgver() {
cd "${pkgname}"
@@ -24,6 +26,11 @@
git describe --tags | sed 's/^v//;s/-/+/g'
}
+prepare() {
+ cd "${pkgname}"
+ patch -Np1 < "$srcdir/go1.15-compat.patch"
+}
+
build() {
cd "${pkgname}"
export CGO_LDFLAGS="$LDFLAGS"
@@ -30,7 +37,7 @@
export CGO_CFLAGS="$CFLAGS"
export CGO_CXXFLAGS="$CXXFLAGS"
export CGO_CPPFLAGS="$CPPFLAGS"
- make GOFLAGS="-buildmode=pie -trimpath"
+ make LDFLAGS="-s -w -linkmode external" GOFLAGS="-buildmode=pie -trimpath"
}
check(){
@@ -39,7 +46,7 @@
export CGO_CFLAGS="$CFLAGS"
export CGO_CXXFLAGS="$CXXFLAGS"
export CGO_CPPFLAGS="$CPPFLAGS"
- make GOFLAGS="-buildmode=pie -trimpath" test-unit
+ make LDFLAGS="-s -w -linkmode external" GOFLAGS="-buildmode=pie -trimpath" test-unit
}
package(){
More information about the arch-commits
mailing list