pika-drivers/main.sh
Ward Nakchbandi (Cosmic Fusion) a862203d67
Update main.sh
2024-07-23 22:52:36 +03:00

21 lines
509 B
Bash
Executable File

# Clone Upstream
mkdir -p pika-drivers
cp -rvf ./* ./pika-drivers/
cd ./pika-drivers/
# Dead PikaOS3 Release Quirk?
apt-get install libglib2.0-0=2.78.0-2 libglib2.0-bin=2.78.0-2 libglib2.0-dev-bin=2.78.0-2 -y --allow-downgrades
# 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/