From e99165b1efe15de1a093c306453b3b3fdcceb620 Mon Sep 17 00:00:00 2001 From: ferreo Date: Fri, 8 Nov 2024 15:35:03 +0100 Subject: [PATCH] Update main.sh --- main.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/main.sh b/main.sh index d80ca48..7e15e2a 100755 --- a/main.sh +++ b/main.sh @@ -6,16 +6,17 @@ set -e echo "$PIKA_BUILD_ARCH" > pika-build-arch -VERSION="1.0" +VERSION="0.99.1" -# Clone Upstream -mkdir -p ./src-pkg-name -cp -rvf ./debian ./src-pkg-name/ -cd ./src-pkg-name/ +git clone --recurse-submodules https://github.com/nushell/nushell.git -b "$VERSION" +cp -rvf ./debian ./nushell/ +cd ./nushell/ # 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 nushell_"$VERSION" || echo "dh-make: Ignoring Last Error" apt-get build-dep ./ -y +apt-get install curl -y +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | CARGO_HOME=/root/.cargo sh -s -- -y # Build package dpkg-buildpackage --no-sign