add script
This commit is contained in:
parent
e84d9a22b6
commit
229a045fd4
@ -13,7 +13,7 @@ deps_arch=('bash' 'icoutils' 'wget' 'bubblewrap' 'zstd' 'cabextract' 'bc' 'tar'
|
||||
deps_debian=('curl' 'zenity' 'cabextract' 'bubblewrap' 'gamemode' 'icoutils' 'tar' 'wget' 'zstd' 'libvulkan1' 'libvulkan1:i386')
|
||||
|
||||
scripts=(
|
||||
['preinstall']='${srcdir}/preinstall.sh'
|
||||
['preinstall']='preinstall.sh'
|
||||
#['postinstall']='postinstall.sh'
|
||||
)
|
||||
|
||||
@ -22,7 +22,8 @@ sources=("https://raw.githubusercontent.com/Castro-Fidel/PortWINE/master/portwin
|
||||
"git+https://github.com/Castro-Fidel/PortProton_PKGBUILD.git"
|
||||
"https://raw.githubusercontent.com/xpamych/portproton-scripts-lure/main/preinstall.sh"
|
||||
)
|
||||
checksums=('SKIP'
|
||||
checksums=(
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
)
|
||||
|
5
portproton/preinstall.sh
Normal file
5
portproton/preinstall.sh
Normal file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
if [["${disto}" == "debian"]]; then
|
||||
sudo dpkg --add-architecture i386
|
||||
sudo apt-get update
|
||||
fi
|
Loading…
Reference in New Issue
Block a user