diff --git a/portproton/lure.sh b/portproton/lure.sh index 3b296e7..a39bbe7 100644 --- a/portproton/lure.sh +++ b/portproton/lure.sh @@ -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}" } diff --git a/portproton/preinstall.sh b/portproton/preinstall.sh new file mode 100644 index 0000000..85c52d5 --- /dev/null +++ b/portproton/preinstall.sh @@ -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 \ No newline at end of file