switcheroo-control/main.sh
Ward Nakchbandi (Cosmic Fusion) e251a7a33a
Initial commit
2023-09-30 11:04:08 +03:00

20 lines
299 B
Bash
Executable File

#! /bin/bash
DEBIAN_FRONTEND=noninteractive
# Clone Upstream
mkdir -p ./src-pkg-name
cp -rvf ./debian ./src-pkg-name/
cd ./src-pkg-name/
# Get build deps
apt-get build-dep ./ -y
# Build package
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/