Package Details: via-appimage 3.0.0-1

Git Clone URL: https://aur.archlinux.org/via-appimage.git (read-only, click to copy)
Package Base: via-appimage
Description: Your keyboard's best friend.
Upstream URL: https://caniusevia.com/
Licenses: proprietary
Submitter: That1Calculator
Maintainer: Perry3D
Last Packager: Perry3D
Votes: 2
Popularity: 0.000348
First Submitted: 2021-07-10 00:05 (UTC)
Last Updated: 2023-03-13 20:22 (UTC)

Latest Comments

MageJohn commented on 2022-11-18 01:00 (UTC)

Hi @That1Calculator - when I try to install this I'm getting this error: sed: can't read squashfs-root/via-nativa.desktop: No such file or directory. I think the file is supposed to be 'via-nativia.desktop'.

Here's a patch for the PKGBUILD that worked for me:

diff --git a/PKGBUILD b/PKGBUILD
index 4efa9e9..ecb86a6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,6 +17,8 @@ noextract=("${_appimage}")
 sha256sums_x86_64=('00f36dcdf795eb3f08176d1ba2672032aee6c1c2b57db0dd145efb5ebd143ceb')
 options+=('!strip')

+_desktop_file_name="via-nativia.desktop"
+
 prepare() {
     chmod +x "${_appimage}"
     ./"${_appimage}" --appimage-extract
@@ -25,7 +27,7 @@ prepare() {
 build() {
     # Adjust .desktop so it will work outside of AppImage container
     sed -i -E "s|Exec=AppRun|Exec=env DESKTOPINTEGRATION=false /usr/bin/${_pkgname}|"\
-        "squashfs-root/${_pkgname}-nativa.desktop"
+        "squashfs-root/${_desktop_file_name}"
     # Fix permissions; .AppImage permissions are 700 for all directories
     chmod -R a-x+rX squashfs-root/usr
 }
@@ -34,8 +36,8 @@ package() {
     # AppImage
     install -Dm755 "${srcdir}/${_appimage}" "${pkgdir}/opt/${pkgname}/${pkgname}.AppImage"
     # Desktop file
-    install -Dm644 "${srcdir}/squashfs-root/${_pkgname}-nativa.desktop"\
-            "${pkgdir}/usr/share/applications/${_pkgname}-nativa.desktop"
+    install -Dm644 "${srcdir}/squashfs-root/${_desktop_file_name}"\
+            "${pkgdir}/usr/share/applications/${_desktop_file_name}"

     # Icon images
     install -dm755 "${pkgdir}/usr/share/"

Pointystick commented on 2022-10-14 23:01 (UTC)

Sorry I made a mistake its not 'via-nativa.desktop' ,it's 'via-nativia.desktop'. Dyslexa strikes again.

That1Calculator commented on 2022-10-14 18:49 (UTC)

@Pointystick fixed

Pointystick commented on 2022-10-13 19:40 (UTC)

I get this error when I try to install this. sed: can't read squashfs-root/via.desktop: No such file or directory The file is now called 'via-nativa.desktop' .

ceri commented on 2022-03-19 02:55 (UTC)

Doesn't build in chroot

==> Extracting sources... ==> Starting prepare()... startdir/PKGBUILD: line 22: ./via-1.3.1-linux.AppImage: No such file or directory