forked from Plemya-x/alr-repo
		
	portproton
This commit is contained in:
		
							
								
								
									
										35
									
								
								portproton (в процессе)/lure.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								portproton (в процессе)/lure.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,35 @@ | ||||
| name='portproton' | ||||
| version='1.0' | ||||
| release='1' | ||||
| desc='PortProton is a project designed to make it easy and convenient to run Windows games on Linux for both beginners and advanced users.' | ||||
| homepage='https://linux-gaming.ru/' | ||||
| architectures='amd64' | ||||
| licenses='MIT' | ||||
| provides='portproton' | ||||
| conflicts='portproton' | ||||
|  | ||||
| deps_redos=('bubblewrap' 'cabextract' 'curl' 'icoutils' 'vulkan-loader' 'vulkan-tools' 'wget' 'zenity' 'zstd') | ||||
| deps_arch=('bash' 'icoutils' 'wget' 'bubblewrap' 'zstd' 'cabextract' 'bc' 'tar' 'openssl' 'gamemode' 'desktop-file-utils' 'curl' 'dbus' 'freetype2' 'gdk-pixbuf2' 'ttf-font' 'zenity' 'lsb-release' 'nss' 'xorg-xrandr' 'vulkan-driver' 'vulkan-icd-loader' 'lsof' 'lib32-freetype2' 'lib32-libgl' 'lib32-gcc-libs' 'lib32-libx11' 'lib32-libxss' 'lib32-alsa-plugins' 'lib32-libgpg-error' 'lib32-nss' 'lib32-vulkan-driver' 'lib32-vulkan-icd-loader' 'lib32-gamemode' 'lib32-openssl') | ||||
| deps_debian=('curl' 'zenity' 'cabextract' 'bubblewrap' 'gamemode' 'icoutils' 'tar' 'wget' 'zstd' 'libvulkan1' ) | ||||
| #build_deps_debian=('libvulkan1:i386') | ||||
|  | ||||
| #sources=("git+https://github.com/Castro-Fidel/PortWINE.git") | ||||
| sources=("https://raw.githubusercontent.com/Castro-Fidel/PortWINE/master/portwine_install_script/PortProton_1.0" | ||||
| "git+https://github.com/Castro-Fidel/PortProton_PKGBUILD.git" | ||||
| "https://gitflic.ru/project/xpamych/xpamych-lure-repo/portproton/postinstall.sh" | ||||
| ) | ||||
| checksums=('SKIP' | ||||
| 'SKIP' | ||||
| 'SKIP' | ||||
| ) | ||||
|  | ||||
| prepare() { | ||||
| cd "${srcdir}" | ||||
| } | ||||
|  | ||||
| package() { | ||||
| install -Dm755 "PortProton_${version}" "${pkgdir}/usr/bin/${name}" | ||||
| install -Dm644 "./PortProton_PKGBUILD/${name}.desktop" -t "${pkgdir}/usr/share/applications/" | ||||
| install -Dm644 "./PortProton_PKGBUILD/${name}.png" -t "${pkgdir}/usr/share/pixmaps" | ||||
| install -Dm644 "./PortProton_PKGBUILD/LICENSE" -t "${pkgdir}/usr/share/licenses/${name}/" | ||||
| } | ||||
							
								
								
									
										8
									
								
								portproton (в процессе)/postinstall.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								portproton (в процессе)/postinstall.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| if [ ${distro}=debian] | ||||
| then | ||||
| sudo apt install software-properties-common -y | ||||
| sudo apt-add-repository non-free | ||||
| sudo dpkg --add-architecture i386 | ||||
| sudo apt update | ||||
| sudo apt upgrade | ||||
| fi | ||||
		Reference in New Issue
	
	Block a user