2024-03-29 14:35:38 +01:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
DEBIAN_FRONTEND=noninteractive
|
2024-10-13 20:21:00 +02:00
|
|
|
VERSION="0.2.38"
|
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/
|