makedeb
The Kubernetes IDE
Click here to go back to the commit logs for lens-bin.
Hash: 775270bf3d27d699a77f4553e77382ea6f5d4196
Message: upgpkg: lens-bin 5.0.0-1
rename kontena-lens to open-lens
diff --git a/.SRCINFO b/.SRCINFO
index 79c022a..a28ce89 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -15,6 +15,6 @@ pkgbase = lens-bin
source = lens-5.0.0.x86_64.AppImage::https://api.k8slens.dev/binaries/Lens-5.0.0-latest.20210629.3.x86_64.AppImage
source = lens.desktop
sha256sums = 679ee43f2a0a2043bf520e25faa8bfb84db16e45e2dfb0cb4d5bf12a9fe06c31
- sha256sums = 3db5b267cededcc73b3e35b89b46fca419e82832b85fa633e4326156cf648d02
+ sha256sums = 7acac010857d0afc5717e87e651bd875dab9771685648e3908da538709de2346
pkgname = lens-bin
diff --git a/PKGBUILD b/PKGBUILD
index 5397775..8646610 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ conflicts=('lens')
source=(${_pkgname}-${pkgver}.${arch}.AppImage::"https://api.k8slens.dev/binaries/Lens-${pkgver}-latest.${_pkgdate}.${arch}.AppImage"
"${_pkgname}.desktop")
sha256sums=('679ee43f2a0a2043bf520e25faa8bfb84db16e45e2dfb0cb4d5bf12a9fe06c31'
- '3db5b267cededcc73b3e35b89b46fca419e82832b85fa633e4326156cf648d02')
+ '7acac010857d0afc5717e87e651bd875dab9771685648e3908da538709de2346')
prepare() {
chmod +x "${_pkgname}-${pkgver}.${arch}.AppImage"
@@ -32,7 +32,7 @@ package() {
# icon
install -Dm 644 "${pkgdir}"/usr/share/${_pkgname}/usr/share/icons/hicolor/512x512/apps/${_pkgname}.png \
- "${pkgdir}"/usr/share/icons/hicolor/512x512/apps/kontena-${_pkgname}.png
+ "${pkgdir}"/usr/share/icons/hicolor/512x512/apps/open-${_pkgname}.png
# desktop file
install -Dm 644 "${srcdir}"/${_pkgname}.desktop \
@@ -41,11 +41,12 @@ package() {
# symlink binary
mkdir -p "${pkgdir}"/usr/bin
ln -sf /usr/share/${_pkgname}/lens \
- "${pkgdir}"/usr/bin/kontena-lens
+ "${pkgdir}"/usr/bin/open-lens
# clean and fix permissions
find "${pkgdir}" -type d -exec chmod 755 {} \;
chmod -x "${pkgdir}"/usr/share/${_pkgname}/*.so
- rm -rf "${pkgdir}"/usr/share/${_pkgname}/lens.png
+ rm -rf "${pkgdir}"/usr/share/${_pkgname}/AppRun
+ rm -rf "${pkgdir}"/usr/share/${_pkgname}/lens.{desktop,png}
rm -rf "${pkgdir}"/usr/share/${_pkgname}/usr
}
diff --git a/lens.desktop b/lens.desktop
index dfe3397..12d1465 100644
--- a/lens.desktop
+++ b/lens.desktop
@@ -3,7 +3,7 @@ Type=Application
Name=Lens
GenericName=Kubernetes IDE
Comment=The Kubernetes IDE
-Icon=kontena-lens
-Exec=kontena-lens %U
+Icon=open-lens
+Exec=open-lens %U
Categories=System;
StartupNotify=true