[arch-commits] Commit in helm/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at gemini.archlinux.org
Mon Jan 24 22:07:19 UTC 2022
Date: Monday, January 24, 2022 @ 22:07:18
Author: foxboron
Revision: 1114897
archrelease: copy trunk to community-x86_64
Added:
helm/repos/community-x86_64/PKGBUILD
(from rev 1114896, helm/trunk/PKGBUILD)
Deleted:
helm/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 115 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-24 22:07:12 UTC (rev 1114896)
+++ PKGBUILD 2022-01-24 22:07:18 UTC (rev 1114897)
@@ -1,57 +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.7.2
-pkgrel=1
-pkgdesc="The Kubernetes Package Manager"
-arch=("x86_64")
-url="https://helm.sh/"
-license=("Apache")
-depends=('glibc')
-makedepends=("go" "git")
-_commit=663a896f4a815053445eec4153677ddc24a0a361 #refs/tags/v3.7.2^{}
-source=("git+https://github.com/helm/helm.git#commit=${_commit}?signed")
-#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
-}
-
-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 1114896, helm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-24 22:07:18 UTC (rev 1114897)
@@ -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.8.0
+pkgrel=1
+pkgdesc="The Kubernetes Package Manager"
+arch=("x86_64")
+url="https://helm.sh/"
+license=("Apache")
+depends=('glibc')
+makedepends=("go" "git")
+options=("!lto")
+_commit=d14138609b01886f544b2025f5000351c9eb092e #refs/tags/v3.8.0^{}
+source=("git+https://github.com/helm/helm.git#commit=${_commit}?signed")
+#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
+}
+
+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