diff options
author | Óscar García Amor | 2021-02-24 12:26:17 +0100 |
---|---|---|
committer | Óscar García Amor | 2021-02-24 12:26:17 +0100 |
commit | ed7d5b2057ddf4408707eb1ed15005ab43b13c8f (patch) | |
tree | 6e4ec904848b804360c31d36dc9d9faf2e1c90e2 | |
parent | 489c711f6be81d53294ee7cf7418cb9cce6d02b5 (diff) | |
download | aur-ed7d5b2057ddf4408707eb1ed15005ab43b13c8f.tar.gz |
upgpkg: lens 4.1.2-3
Added optdepends and symlink to helm binary
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 11 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = lens pkgdesc = The Kubernetes IDE pkgver = 4.1.2 - pkgrel = 2 + pkgrel = 3 url = https://k8slens.dev arch = x86_64 license = MIT @@ -13,6 +13,8 @@ pkgbase = lens depends = libxss depends = libxtst depends = nss + optdepends = kubectl: Kubernetes control, can be downloaded from settings + optdepends = helm: for Apps section, only useful if your deploy uses helm or plan to use it conflicts = lens-bin source = lens-4.1.2.tar.gz::https://github.com/lensapp/lens/archive/v4.1.2.tar.gz source = lens.desktop @@ -4,12 +4,14 @@ pkgname=lens pkgdesc='The Kubernetes IDE' pkgver=4.1.2 -pkgrel=2 +pkgrel=3 arch=('x86_64') license=('MIT') url='https://k8slens.dev' depends=('alsa-lib' 'gtk3' 'libxss' 'libxtst' 'nss') makedepends=('npm' 'nodejs-lts-erbium' 'yarn') +optdepends=('kubectl: Kubernetes control, can be downloaded from settings' + 'helm: for Apps section, only useful if your deploy uses helm or plan to use it') conflicts=('lens-bin') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/lensapp/lens/archive/v${pkgver}.tar.gz" "${pkgname}.desktop") @@ -41,4 +43,9 @@ package() { mkdir -p "${pkgdir}"/usr/bin ln -sf /usr/share/${pkgname}/kontena-lens \ "${pkgdir}"/usr/bin/kontena-lens + + # symlink helm binary + mkdir -p "${pkgdir}"/usr/share/${pkgname}/resources/helm3 + ln -sf /usr/bin/helm \ + "${pkgdir}"/usr/share/${pkgname}/resources/helm3/helm3 } |