Update main.sh

This commit is contained in:
ferreo 2024-11-29 20:50:53 +01:00
parent 0706b4ce6f
commit 62aa0a35bf

10
main.sh
View File

@ -6,15 +6,15 @@ set -e
echo "$PIKA_BUILD_ARCH" > pika-build-arch echo "$PIKA_BUILD_ARCH" > pika-build-arch
VERSION="1.0" VERSION="0.13.0"
# Clone Upstream # Clone Upstream
mkdir -p ./src-pkg-name git clone https://github.com/ziglang/zig.git -b "$VERSION"
cp -rvf ./debian ./src-pkg-name/ cp -rvf ./debian ./zig/
cd ./src-pkg-name/ cd ./zig/
# Get build deps # 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 zig_"$VERSION" || echo "dh-make: Ignoring Last Error"
apt-get build-dep ./ -y apt-get build-dep ./ -y
# Build package # Build package