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