From df2d5b895884fac07658e98e632b24d3bb02aaae Mon Sep 17 00:00:00 2001 From: xpamych Date: Sat, 2 Sep 2023 20:43:13 +0300 Subject: [PATCH] upscayl-bin --- upscayl-bin/lure.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/upscayl-bin/lure.sh b/upscayl-bin/lure.sh index 46e39ff..10e2e95 100644 --- a/upscayl-bin/lure.sh +++ b/upscayl-bin/lure.sh @@ -11,19 +11,19 @@ conflicts=('upscayl') deps=('fuse2' 'nss' 'zlib') build_deps=('util-linux') -sources=("https://github.com/upscayl/upscayl/releases/download/v${pkgver}/upscayl-${pkgver}-linux.AppImage") +sources=("https://github.com/upscayl/upscayl/releases/download/v${version}/upscayl-${version}-linux.AppImage") checksums=('SKIP') prepare() { cd "${srcdir}" [[ -d squashfs-root ]] && rm -rf squashfs-root - chmod 755 upscayl-${pkgver}-linux.AppImage - ./upscayl-${pkgver}-linux.AppImage --appimage-extract + chmod 755 upscayl-${version}-linux.AppImage + ./upscayl-${version}-linux.AppImage --appimage-extract sed -i 's|^Exec=.*|Exec=upscayl|' squashfs-root/upscayl.desktop } package() { - install -Dm644 squashfs-root/usr/share/icons/hicolor/0x0/apps/upscayl.png "$pkgdir/usr/share/pixmaps/upscayl.png" - install -Dm644 squashfs-root/upscayl.desktop "$pkgdir/usr/share/applications/upscayl.desktop" - install -Dm755 upscayl-${pkgver}-linux.AppImage "$pkgdir/usr/bin/$_pkgname" + install -Dm644 squashfs-root/usr/share/icons/hicolor/0x0/apps/upscayl.png "${pkgdir}/usr/share/pixmaps/upscayl.png" + install -Dm644 squashfs-root/upscayl.desktop "${pkgdir}/usr/share/applications/upscayl.desktop" + install -Dm755 upscayl-${version}-linux.AppImage "${pkgdir}/usr/bin/$_pkgname" }