From fa540e75e571b9072453db0aa3c1b5a6403aac18 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (CosmicFusion)" Date: Fri, 9 Aug 2024 22:00:40 +0200 Subject: [PATCH] Update main.sh --- main.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/main.sh b/main.sh index cbe190b..698f489 100755 --- a/main.sh +++ b/main.sh @@ -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"