Update main.sh

This commit is contained in:
ferreo 2024-11-12 17:26:44 +01:00
parent 285db56452
commit 3ba3d6dfae

12
main.sh
View File

@ -6,15 +6,17 @@ set -e
echo "$PIKA_BUILD_ARCH" > pika-build-arch
VERSION="1.0"
VERSION="0.8.9"
# Clone Upstream
mkdir -p ./src-pkg-name
cp -rvf ./debian ./src-pkg-name/
cd ./src-pkg-name/
git clone --recurse-submodules https://github.com/abenz1267/walker.git -b v"$VERSION"
cp -rvf ./MakeFile ./walker/MakeFile
cp -rvf ./debian ./walker/
cd ./walker
# 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 walker_"$VERSION" || echo "dh-make: Ignoring Last Error"
apt-get build-dep ./ -y
# Build package