makedeb


lens-bin 5.3.2-1


The Kubernetes IDE

Click here to go back to the commit logs for lens-bin.

Commit:


Hash: ed86757458c3f694cf2d6345cbce4435540f2edc

Message: upgpkg: lens-bin 5.0.0-1 upstream release

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 0a68e6b..79c022a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = lens-bin
 	pkgdesc = The Kubernetes IDE
-	pkgver = 4.2.5
+	pkgver = 5.0.0
 	pkgrel = 1
 	url = https://k8slens.dev
 	arch = x86_64
@@ -12,9 +12,9 @@ pkgbase = lens-bin
 	depends = nss
 	provides = lens
 	conflicts = lens
-	source = lens-4.2.5.x86_64.AppImage::https://github.com/lensapp/lens/releases/download/v4.2.5/Lens-4.2.5.x86_64.AppImage
+	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 = 40b0c024587d83a42befe26e468955d1e2ec866bdafe1ebfcf62bdc858250088
+	sha256sums = 679ee43f2a0a2043bf520e25faa8bfb84db16e45e2dfb0cb4d5bf12a9fe06c31
 	sha256sums = 3db5b267cededcc73b3e35b89b46fca419e82832b85fa633e4326156cf648d02
 
 pkgname = lens-bin
diff --git a/PKGBUILD b/PKGBUILD
index 4b85d48..5397775 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,9 @@
 # Contributor: zer0def <zer0def@github>
 
 _pkgname=lens
+_pkgdate=20210629.3
 pkgname=lens-bin
-pkgver=4.2.5
+pkgver=5.0.0
 pkgrel=1
 pkgdesc='The Kubernetes IDE'
 arch=('x86_64')
@@ -13,9 +14,9 @@ url='https://k8slens.dev'
 depends=('alsa-lib' 'gtk3' 'libxss' 'libxtst' 'nss')
 provides=('lens')
 conflicts=('lens')
-source=(${_pkgname}-${pkgver}.${arch}.AppImage::"https://github.com/lensapp/${_pkgname}/releases/download/v${pkgver}/Lens-${pkgver}.${arch}.AppImage"
+source=(${_pkgname}-${pkgver}.${arch}.AppImage::"https://api.k8slens.dev/binaries/Lens-${pkgver}-latest.${_pkgdate}.${arch}.AppImage"
         "${_pkgname}.desktop")
-sha256sums=('40b0c024587d83a42befe26e468955d1e2ec866bdafe1ebfcf62bdc858250088'
+sha256sums=('679ee43f2a0a2043bf520e25faa8bfb84db16e45e2dfb0cb4d5bf12a9fe06c31'
             '3db5b267cededcc73b3e35b89b46fca419e82832b85fa633e4326156cf648d02')
 
 prepare() {
@@ -30,7 +31,7 @@ package() {
     "${pkgdir}"/usr/share/${_pkgname}
 
   # icon
-  install -Dm 644 "${pkgdir}"/usr/share/${_pkgname}/usr/share/icons/hicolor/512x512/apps/kontena-${_pkgname}.png \
+  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
 
   # desktop file
@@ -39,12 +40,12 @@ package() {
 
   # symlink binary
   mkdir -p "${pkgdir}"/usr/bin
-  ln -sf /usr/share/${_pkgname}/kontena-lens \
+  ln -sf /usr/share/${_pkgname}/lens \
     "${pkgdir}"/usr/bin/kontena-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}/kontena-lens.png
+  rm -rf "${pkgdir}"/usr/share/${_pkgname}/lens.png
   rm -rf "${pkgdir}"/usr/share/${_pkgname}/usr
 }