Commit 89753187 authored by techknowlogick's avatar techknowlogick Committed by Kevin Daudt
Browse files

testing/helm: new aport

https://helm.sh/
The Kubernetes package manager
parent bf01c1d1
# Contributor: techknowlogick <techknowlogick@gitea.io>
# Maintainer: techknowlogick <techknowlogick@gitea.io>
pkgname=helm
pkgver=3.3.1
pkgrel=0
pkgdesc="The Kubernetes Package Manager"
url="https://helm.sh/"
arch="all !mips !mips64" # go
license="Apache-2.0"
makedepends="bash go"
options="chmod-clean"
source="$pkgname-$pkgver.tar.gz::https://github.com/helm/helm/archive/v$pkgver.tar.gz
0001-fix-go1.15-lint-error.patch::https://github.com/helm/helm/commit/83a5e620d0acde77502b1f814f749268e8d8ef6e.patch
"
builddir="$srcdir/src/github.com/helm/$pkgname"
case "$CARCH" in
# Disable check on 32bit systems due to upstream test "TestPlatformPrepareCommand" that does not account for these platforms
x86|armv7) options="$options !check" ;;
esac
prepare() {
mkdir -p ${builddir%/*}
mv "$srcdir"/$pkgname-$pkgver "$builddir"/
default_prepare
}
build() {
make
}
check() {
make test-unit
}
package() {
install -Dm755 bin/helm -t "$pkgdir/usr/bin"
}
sha512sums="ed1c68c1931c55656f83abf28958c57f3e83e47325bde21999daa93d38e97bc1f3ab65d713c5e1bb1ed6f91101e0e729b3e04bf7ee774c1764a0d25525ab0909 helm-3.3.1.tar.gz
f9eca959cdb7ce704ee79edb8461ea55bbd3a257751176e106c3061a5da6238a3746f84331c0574146ee399eaf700af54f693e4eb4155d1412a8c930b4dc9dcb 0001-fix-go1.15-lint-error.patch"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment