corectrl/main.sh
2023-06-16 19:17:51 +01:00

19 lines
350 B
Bash
Executable File

DEBIAN_FRONTEND=noninteractive
# Clone Upstream
git clone https://gitlab.com/corectrl/corectrl
cp -rvf ./debian ./corectrl
cd ./corectrl
# Get build deps
apt-get build-dep ./ -y
# Build package
LOGNAME=root dh_make --createorig -y -l -p corectrl_1.4.0-git
dpkg-buildpackage
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/