blob: 40012846a1f84510040907098ec9c0f19de3e7ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Jean-Francois Roy <jf at devklog dot net>
pkgname=helmfile-bin
pkgdesc="Helmfile is a declarative spec for deploying helm charts."
pkgver=0.167.0 # renovate: datasource=github-tags depName=helmfile/helmfile
pkgrel=1
arch=('x86_64' 'aarch64')
url="https://github.com/helmfile/helmfile"
license=('MIT')
conflicts=('helmfile')
provides=('helmfile')
source_x86_64=("$pkgname-$pkgver.tar.gz::$url/releases/download/v${pkgver}/helmfile_${pkgver}_linux_amd64.tar.gz")
source_aarch64=("$pkgname-$pkgver.tar.gz::$url/releases/download/v${pkgver}/helmfile_${pkgver}_linux_arm64.tar.gz")
sha256sums_x86_64=('4e897ef1dbbbe1ab802a2b9bb7b51bc3ded5ad3fdd0ac94d4e8967eb9e266bfe')
sha256sums_aarch64=('7899790f0ba9605cf751ce71d0f4778e3ae0f6ccc8b3f44df05345fe49b7d76b')
noextract=("$pkgname-$pkgver.tar.gz")
prepare() {
mkdir -p "$pkgname-$pkgver"
tar -xf "$pkgname-$pkgver.tar.gz" -C "$pkgname-$pkgver"
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 helmfile "${pkgdir}/usr/bin/helmfile"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}
|