2024-08-27 00:31:17 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
VERSION="1.0.0"
|
|
|
|
|
|
|
|
source ./pika-build-config.sh
|
|
|
|
|
|
|
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
2023-03-24 13:10:10 +01:00
|
|
|
|
|
|
|
# Clone Upstream
|
2024-08-27 00:31:17 +02:00
|
|
|
cd ./sound-theme-pika
|
2023-03-24 13:10:10 +01:00
|
|
|
|
|
|
|
# Get build deps
|
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
|
|
|
# Build package
|
2024-08-27 00:31:17 +02:00
|
|
|
LOGNAME=root dh_make --createorig -y -l -p sound-theme-pika_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
|
|
|
dpkg-buildpackage --no-sign
|
2023-03-24 13:10:10 +01:00
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
|
|
|
mv ./*.deb ./output/
|