upscayl-bin
This commit is contained in:
parent
01fcc1537a
commit
df2d5b8958
@ -11,19 +11,19 @@ conflicts=('upscayl')
|
|||||||
deps=('fuse2' 'nss' 'zlib')
|
deps=('fuse2' 'nss' 'zlib')
|
||||||
build_deps=('util-linux')
|
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')
|
checksums=('SKIP')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}"
|
cd "${srcdir}"
|
||||||
[[ -d squashfs-root ]] && rm -rf squashfs-root
|
[[ -d squashfs-root ]] && rm -rf squashfs-root
|
||||||
chmod 755 upscayl-${pkgver}-linux.AppImage
|
chmod 755 upscayl-${version}-linux.AppImage
|
||||||
./upscayl-${pkgver}-linux.AppImage --appimage-extract
|
./upscayl-${version}-linux.AppImage --appimage-extract
|
||||||
sed -i 's|^Exec=.*|Exec=upscayl|' squashfs-root/upscayl.desktop
|
sed -i 's|^Exec=.*|Exec=upscayl|' squashfs-root/upscayl.desktop
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm644 squashfs-root/usr/share/icons/hicolor/0x0/apps/upscayl.png "$pkgdir/usr/share/pixmaps/upscayl.png"
|
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 -Dm644 squashfs-root/upscayl.desktop "${pkgdir}/usr/share/applications/upscayl.desktop"
|
||||||
install -Dm755 upscayl-${pkgver}-linux.AppImage "$pkgdir/usr/bin/$_pkgname"
|
install -Dm755 upscayl-${version}-linux.AppImage "${pkgdir}/usr/bin/$_pkgname"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user