diff --git a/main.sh b/main.sh index 4fd7b08..a722834 100755 --- a/main.sh +++ b/main.sh @@ -3,9 +3,11 @@ DEBIAN_FRONTEND=noninteractive # Clone Upstream -mkdir -p ./src-pkg-name -cp -rvf ./debian ./src-pkg-name/ -cd ./src-pkg-name/ +git clone https://gitlab.freedesktop.org/hadess/switcheroo-control -b 2.6 +cp -rvf ./debian ./switcheroo-control/ +cd ./switcheroo-control + +for i in ../patches/* ; do echo "Applying Patch: $i" && patch -Np1 -i $i || echo "Applying Patch $i Failed!"; done # Get build deps apt-get build-dep ./ -y