pika-welcome/main.sh
Ward Nakchbandi (Cosmic Fusion) be65dc3f78
Update main.sh
2024-02-20 23:41:42 +03:00

18 lines
420 B
Bash

# Clone Upstream
mkdir -p ./pika-first-setup
rsync -av --progress ./* ./pika-first-setup --exclude ./pika-first-setup
cd ./pika-first-setup
# Get build deps
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
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/