2023-03-28 16:56:50 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
2024-07-29 15:05:11 +02:00
|
|
|
set -e
|
|
|
|
|
|
|
|
VERSION="1.3.0"
|
|
|
|
|
|
|
|
source ./pika-build-config.sh
|
|
|
|
|
|
|
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
2023-03-24 12:40:19 +01:00
|
|
|
|
|
|
|
# Clone Upstream
|
2023-05-23 14:03:57 +02:00
|
|
|
./gen-xml.sh
|
2023-03-24 12:40:19 +01:00
|
|
|
mkdir -p ./pika-wallpapers
|
2024-07-29 15:05:11 +02:00
|
|
|
cp -rvf ./* ./pika-wallpapers || true
|
2023-03-24 12:40:19 +01:00
|
|
|
cd ./pika-wallpapers
|
|
|
|
|
|
|
|
# Build package
|
2024-07-29 15:05:11 +02:00
|
|
|
LOGNAME=root dh_make --createorig -y -l -p pika-wallpapers_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
2023-03-28 16:56:50 +02:00
|
|
|
dpkg-buildpackage --no-sign
|
2023-03-24 12:40:19 +01:00
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
2024-07-29 15:05:11 +02:00
|
|
|
mv ./*.deb ./output/
|