pika-installer-gtk4/main.sh
Ward Nakchbandi (Cosmic Fusion) 8d1c9bd465
Update main.sh
2024-02-20 23:35:25 +03:00

18 lines
432 B
Bash

# Clone Upstream
mkdir -p ./pika-installer-gtk4
rsync -av --progress ./* ./pika-installer-gtk4 --exclude ./pika-installer-gtk4
cd ./pika-installer-gtk4
# 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/