forked from Plemya-x/alr-repo
		
	upscale-bin
This commit is contained in:
		
							
								
								
									
										29
									
								
								upscayl-bin/lure.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								upscayl-bin/lure.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,29 @@ | ||||
| name='upscayl-bin' | ||||
| version='2.7.5' | ||||
| release='1' | ||||
| desc='Free and Open Source AI Image Upscaler' | ||||
| homepage='https://github.com/upscayl/upscayl' | ||||
| maintainer="Евгений Храмов <xpamych@yandex.ru>" | ||||
| architectures=('amd64') | ||||
| license=('AGPL3') | ||||
| provides=('upscayl') | ||||
| conflicts=('upscayl') | ||||
| deps=('fuse2' 'nss' 'zlib') | ||||
| build_deps=('util-linux') | ||||
|  | ||||
| sources=("https://github.com/upscayl/upscayl/releases/download/v${pkgver}/upscayl-${pkgver}-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 | ||||
|     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" | ||||
| } | ||||
		Reference in New Issue
	
	Block a user