This commit is contained in:
Евгений Храмов 2022-11-05 18:57:17 +03:00
parent f4e4c2c520
commit 21c1ca006d
2 changed files with 12 additions and 10 deletions

@ -15,22 +15,16 @@ 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")
"git+https://github.com/Castro-Fidel/PortProton_PKGBUILD.git"
)
checksums=('SKIP'
'SKIP'
'SKIP'
)
scripts=('preinstall')
prepare() {
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
cd "${srcdir}"
}

8
portproton/preinstall.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