2023-09-30 16:00:17 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
2024-08-26 17:22:27 +02:00
|
|
|
set -e
|
|
|
|
|
|
|
|
VERSION="4.0.0"
|
|
|
|
|
|
|
|
source ./pika-build-config.sh
|
|
|
|
|
|
|
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
|
|
|
|
2023-02-25 09:13:51 +01:00
|
|
|
# Clone Upstream
|
|
|
|
cd ./pika-kde-desktop
|
|
|
|
|
|
|
|
# Get build deps
|
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
|
|
|
# Build package
|
2024-08-26 17:22:27 +02:00
|
|
|
LOGNAME=root dh_make --createorig -y -l -p pika-kde-desktop_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
2023-09-30 16:00:17 +02:00
|
|
|
dpkg-buildpackage --no-sign
|
2023-02-25 09:13:51 +01:00
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
2024-08-26 17:22:27 +02:00
|
|
|
mv ./*.deb ./output/
|