run-upstream-build/main_pbuilder.sh

24 lines
384 B
Bash
Raw Normal View History

2024-08-07 17:32:57 +02:00
#! /bin/bash
set -e
. ./pika-build-config.sh
VERSION="$PIKA_PACKAGE_VERSION"
echo "$PIKA_BUILD_ARCH" > pika-build-arch
# Get source code
if [[ "$PIKA_PACKAGE_NAME" == *-dmo ]];
then
apt-get source "$PIKA_PACKAGE_NAME" -y
else
apt-get source "$PIKA_PACKAGE_NAME=$VERSION" -y
fi
pika-pbuilder-i386-build ./*.dsc
# Move the debs to output
mkdir -p ./output
mv ./*.deb ./output/