blob: 5cce26a6318c20f3e9c155333d9fe613ca012a4d (
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
32
33
34
|
# Maintainer: Mario Finelli <mario at finel dot li>
# Contributor: ml <>
pkgname=helm-secrets
pkgver=4.6.2
pkgrel=1
pkgdesc="Helm plugin to manage secrets with Git workflow and store them anywhere"
arch=(any)
url=https://github.com/jkroepke/helm-secrets
license=(Apache-2.0)
install=helm-secrets.install
depends=(bash helm)
optdepends=(
'sops: secret driver'
'vault: secret driver'
)
source=(https://github.com/jkroepke/helm-secrets/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('320078f7b0f30772f4aebf47bb716834664e7d2be30e3d6461818f7d7c376630')
prepare() {
cd "${pkgname}-${pkgver}"
sed -i '/platformCommand:/,+3 d' plugin.yaml
}
package() {
cd "${pkgname}-${pkgver}"
local _dest="${pkgdir}/usr/lib/helm/plugins/${pkgname##helm-}"
install -Dm0644 plugin.yaml -t "$_dest"
# copy whole scripts directory but remove the install script
cp -ar scripts/ -t "$_dest"
rm -f "$_dest/install.sh"
}
# vim: set ts=2 sw=2 et:
|