forked from Plemya-x/alr-repo
		
	добавление portproton
This commit is contained in:
		| @@ -13,7 +13,11 @@ deps_arch=('bash' 'icoutils' 'wget' 'bubblewrap' 'zstd' 'cabextract' 'bc' 'tar' | |||||||
| deps_debian=('bash') | deps_debian=('bash') | ||||||
| #build_deps=('') | #build_deps=('') | ||||||
|  |  | ||||||
| sources=("git+https://github.com/Castro-Fidel/PortWINE.git") | #sources=("git+https://github.com/Castro-Fidel/PortWINE.git") | ||||||
|  | sources=("https://raw.githubusercontent.com/Castro-Fidel/PortWINE/master/portwine_install_script/PortProton_1.0" | ||||||
|  | "$pkgname.desktop" | ||||||
|  | "$pkgname.png" | ||||||
|  | 'LICENSE') | ||||||
| checksums=('SKIP') | checksums=('SKIP') | ||||||
|  |  | ||||||
| prepare() { | prepare() { | ||||||
| @@ -31,10 +35,14 @@ echo "Icon=$HOME/PortProton/data/img/w.png" >>portproton.desktop | |||||||
| } | } | ||||||
|  |  | ||||||
| package() { | package() { | ||||||
| install -Dm644 "${srcdir}/PortWINE/portproton.desktop" "${pkgdir}/${HOME}/.local/share/applications/portproton.desktop" | install -Dm755 "PortProton_$pkgver" "$pkgdir/usr/bin/$pkgname" | ||||||
| install -dm755 "${pkgdir}/${HOME}/.local/share/portproton" | install -Dm644 "$pkgname.desktop" -t "$pkgdir/usr/share/applications/" | ||||||
| ln - "${pkgdir}/${HOME}/.local/share/portproton" "${HOME}/LinuxGaming/PortProton/" | install -Dm644 "$pkgname.png" -t "$pkgdir/usr/share/pixmaps" | ||||||
| cd "${srcdir}/PortWINE/data_from_portwine/" | install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" | ||||||
| find  -type d -exec install -d {,"${pkgdir}/${HOME}/.local/share/portproton/"}{} \; | #install -Dm644 "${srcdir}/PortWINE/portproton.desktop" "${pkgdir}/${HOME}/.local/share/applications/portproton.desktop" | ||||||
| find  -type f -exec install -D {,"${pkgdir}/${HOME}/.local/share/portproton/"}{} \; | #install -dm755 "${pkgdir}/${HOME}/.local/share/portproton" | ||||||
|  | #ln - "${pkgdir}/${HOME}/.local/share/portproton" "${HOME}/LinuxGaming/PortProton/" | ||||||
|  | #cd "${srcdir}/PortWINE/data_from_portwine/" | ||||||
|  | #find  -type d -exec install -d {,"${pkgdir}/${HOME}/.local/share/portproton/"}{} \; | ||||||
|  | #find  -type f -exec install -D {,"${pkgdir}/${HOME}/.local/share/portproton/"}{} \; | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user