name='vial'
version='0.7.1' release='1'
This commit is contained in:
		
							
								
								
									
										1
									
								
								vial/92-viia.rules
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								vial/92-viia.rules
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0666", TAG+="uaccess", TAG+="udev-acl" | ||||
							
								
								
									
										43
									
								
								vial/alr.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								vial/alr.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,43 @@ | ||||
| name='vial' | ||||
| version='0.7.1' | ||||
| release='1' | ||||
| desc='Vial is an open-source cross-platform (Windows, Linux and Mac) GUI and a QMK fork for configuring your keyboard in real time, similar to VIA.' | ||||
| homepage='https://get.vial.today/' | ||||
| maintainer="Евгений Храмов <xpamych@yandex.ru>" | ||||
| architectures=('amd64') | ||||
| license=('GPL2') | ||||
| provides=('vial') | ||||
| conflicts=('vial' 'vial-bin' 'vial-git') | ||||
|  | ||||
| deps=('fuse') | ||||
| https://github.com/vial-kb/vial-gui/releases/download/v0.7.1/Vial-v0.7.1-x86_64.AppImage | ||||
| sources=("https://github.com/vial-kb/vial-gui/releases/download/v${version}/Vial-v${version}-x86_64.AppImage?~archive=false") | ||||
| checksums=('SKIP') | ||||
|  | ||||
| prepare() { | ||||
|     chmod +x Vial-v${version}-x86_64.AppImage | ||||
|     ./Vial-v${version}-x86_64.AppImage --appimage-extract | ||||
| } | ||||
|  | ||||
| build() { | ||||
|     cd ${srcdir}/squashfs-root/ | ||||
|     sed -i -E "s|Exec=Vial|Exec=env DESKTOPINTEGRATION=false /usr/bin/${name}|" ./Vial.desktop | ||||
|  | ||||
|     chmod -R a-x+rX ./usr | ||||
| } | ||||
|  | ||||
| package() { | ||||
|  | ||||
|     install -Dm755 "${srcdir}/Vial-v${version}-x86_64.AppImage" "${pkgdir}/opt/${name}/${name}.AppImage" | ||||
|  | ||||
|     install -Dm644 "${srcdir}/squashfs-root/Vial.desktop" "${pkgdir}/usr/share/applications/${name}.desktop" | ||||
|  | ||||
|     install -dm755 "${pkgdir}/usr/share/" | ||||
|     cp -a "${srcdir}/squashfs-root/usr/share/icons" "${pkgdir}/usr/share/" | ||||
|  | ||||
|     install -dm755 "${pkgdir}/usr/bin" | ||||
|     ln -s "/opt/Vial/Vial" "${pkgdir}/usr/bin/${name}" | ||||
|  | ||||
|     install -Dm644 "${scriptdir}/92-viia.rules" "${pkgdir}/usr/lib/udev/rules.d/92-viia.rules" | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user