pika-pbuilder/main.sh

21 lines
401 B
Bash
Raw Normal View History

2024-03-29 14:35:38 +01:00
#! /bin/bash
DEBIAN_FRONTEND=noninteractive
2024-08-07 19:35:40 +02:00
VERSION="0.2.37"
2024-03-29 14:35:38 +01:00
# Clone Upstream
2024-03-29 14:54:41 +01:00
cp -rvf ./debian ./pika-pbuilder/
cd ./pika-pbuilder/
2024-03-29 14:35:38 +01:00
# Get build deps
2024-08-07 17:45:32 +02:00
LOGNAME=root dh_make --createorig -y -l -p pika-pbuilder_"$VERSION" || echo "dh-make: Ignoring Last Error"
2024-03-29 14:35:38 +01:00
apt-get build-dep ./ -y
# Build package
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/