19 lines
350 B
Bash
19 lines
350 B
Bash
|
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/
|