pika-pbuilder/main.sh

21 lines
401 B
Bash
Executable File

#! /bin/bash
DEBIAN_FRONTEND=noninteractive
VERSION="0.2.35"
# Clone Upstream
cp -rvf ./debian ./pika-pbuilder/
cd ./pika-pbuilder/
# Get build deps
LOGNAME=root dh_make --createorig -y -l -p pika-pbuilder_"$VERSION" || echo "dh-make: Ignoring Last Error"
apt-get build-dep ./ -y
# Build package
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/