Update main.sh

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-08-09 22:00:40 +02:00
parent 231992b00a
commit fa540e75e5

10
main.sh
View File

@ -9,9 +9,13 @@ echo "$PIKA_BUILD_ARCH" > pika-build-arch
VERSION="9.14"
# Clone Upstream
mkdir -p ./wine-staging
cp -rvf ./debian ./wine-staging/
cd ./wine-staging/
git clone --depth=1 -b wine-"$VERSION" https://gitlab.winehq.org/wine/wine
# Clone staging patches
git clone --depth=1 -b "$VERSION" https://gitlab.winehq.org/wine/wine-staging
./staging/patchinstall.py DESTDIR="../wine" --all
cd ../
cp -rvf ./debian ./wine/
cd ./wine/
# Get build deps
LOGNAME=root dh_make --createorig -y -l -p wine-staging_"$VERSION" || echo "dh-make: Ignoring Last Error"