pika-drivers/main.sh

17 lines
365 B
Bash
Raw Normal View History

2023-06-29 23:12:57 +02:00
# Clone Upstream
mkdir -p pika-drivers
cp -rvf ./* ./pika-drivers/
2023-06-29 23:20:39 +02:00
cd ./pika-drivers/
2023-06-29 23:12:57 +02:00
# Get build deps
apt-get build-dep ./ -y
2024-02-23 20:18:07 +01:00
apt-get install curl -y
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | CARGO_HOME=/root/.cargo sh -s -- -y
2023-06-29 23:12:57 +02:00
# Build package
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
2024-02-23 20:18:07 +01:00
mv ./*.deb ./output/