2024-07-27 16:51:21 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2024-10-27 20:47:22 +01:00
|
|
|
VERSION="2.0.9"
|
2024-07-27 16:51:21 +02:00
|
|
|
|
|
|
|
source ./pika-build-config.sh
|
|
|
|
|
|
|
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
|
|
|
|
2023-02-25 09:26:00 +01:00
|
|
|
# Clone Upstream
|
2023-06-11 21:20:49 +02:00
|
|
|
cd ./pika-hyprland-settings
|
2023-02-25 09:26:00 +01:00
|
|
|
|
|
|
|
# Get build deps
|
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
|
|
|
# Build package
|
2024-07-27 16:51:21 +02:00
|
|
|
LOGNAME=root dh_make --createorig -y -l -p pika-hyprland-settings_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
|
|
|
dpkg-buildpackage --no-sign
|
2023-02-25 09:26:00 +01:00
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
|
|
|
mv ./*.deb ./output/
|