Update main.sh

This commit is contained in:
ferreo 2024-11-07 17:08:24 +01:00
parent 1e392f3861
commit 9f8f31a5d8

10
main.sh
View File

@ -6,15 +6,15 @@ set -e
echo "$PIKA_BUILD_ARCH" > pika-build-arch
VERSION="1.0"
VERSION="1.12.0"
# Clone Upstream
mkdir -p ./src-pkg-name
cp -rvf ./debian ./src-pkg-name/
cd ./src-pkg-name/
git clone https://github.com/Matoking/protontricks.git -b "$VERSION"
cp -rvf ./debian ./protontricks/
cd ./protontricks/
# Get build deps
LOGNAME=root dh_make --createorig -y -l -p src-pkg-name_"$VERSION" || echo "dh-make: Ignoring Last Error"
LOGNAME=root dh_make --createorig -y -l -p protontricks_"$VERSION" || echo "dh-make: Ignoring Last Error"
apt-get build-dep ./ -y
# Build package