Package Details: insomnium-bin 0.2.3-1

Git Clone URL: https://aur.archlinux.org/insomnium-bin.git (read-only, click to copy)
Package Base: insomnium-bin
Description: API Client and Design Platform for GraphQL and REST (Privacy focused Insomnia fork)
Upstream URL: https://github.com/ArchGPT/insomnium
Keywords: graphql grpc insomnia rest
Licenses: MIT
Conflicts: insomnium, insomnium-git
Provides: insomnium
Submitter: jonian
Maintainer: jonian
Last Packager: jonian
Votes: 17
Popularity: 0.026967
First Submitted: 2023-10-02 12:07 (UTC)
Last Updated: 2023-11-07 18:49 (UTC)

Dependencies (6)

Required by (0)

Sources (1)

Latest Comments

acheronfail commented on 2023-11-02 00:53 (UTC)

The following can be used to update to 0.2.3-a (which is the latest release right now, and includes some fixes).

diff --git a/PKGBUILD b/PKGBUILD
index 107b711..0eb0f3d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Jonian Guveli <jonian@hardpixel.eu>

 pkgname="insomnium-bin"
-pkgver=0.2.2
+pkgver=0.2.3
 pkgrel=1
 pkgdesc="API Client and Design Platform for GraphQL and REST (Privacy focused Insomnia fork)"
 arch=("x86_64")
@@ -14,8 +14,8 @@ optdepends=(
 )
 provides=("insomnium")
 conflicts=("insomnium" "insomnium-git")
-source=("insomnium-${pkgver}.deb::$url/releases/download/core@${pkgver}/Insomnium.Core-${pkgver}.deb")
-sha256sums=('e5208cd7c476153e67a2a2f3746ed92d179ec471ffc5828b10b28c10db5722d4')
+source=("insomnium-${pkgver}.deb::$url/releases/download/core@${pkgver}-a/Insomnium.Core-${pkgver}-a.deb")
+sha256sums=('88aaae9be568a7eab0cb51031698b6b5781ef9f98446d3b09d99578cfa54f00b')

 prepare() {
   bsdtar xf data.tar.xz
@@ -28,12 +28,6 @@ package() {
   rm -rf "$pkgdir/usr/share/doc"
   mkdir -p "$pkgdir/usr/share/icons/hicolor/scalable/apps"

-  mv "$pkgdir/usr/share/applications/insomnia.desktop" "$pkgdir/usr/share/applications/insomnium.desktop"
-  mv "$pkgdir/usr/share/icons/hicolor/0x0/apps/insomnia.png" "$pkgdir/usr/share/icons/hicolor/scalable/apps/insomnium.png"
-
-  rm -rf "$pkgdir/usr/share/icons/hicolor/0x0"
-  sed -i -e "s/Icon=insomnia/Icon=insomnium/g" "$pkgdir/usr/share/applications/insomnium.desktop"
-
   mkdir -p "$pkgdir/usr/bin"
-  ln -sf "/opt/Insomnium/insomnia" "$pkgdir/usr/bin/insomnium"
+  ln -sf "/opt/Insomnium/insomnium" "$pkgdir/usr/bin/insomnium"
 }