2024-07-26 20:28:45 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2024-10-27 17:36:31 +01:00
|
|
|
VERSION="2.0.2"
|
2024-07-26 20:28:45 +02:00
|
|
|
|
|
|
|
source ./pika-build-config.sh
|
|
|
|
|
|
|
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
|
|
|
|
2023-02-25 09:13:51 +01:00
|
|
|
# Clone Upstream
|
2023-06-11 20:40:42 +02:00
|
|
|
cd ./pika-hyprland-desktop
|
2023-02-25 09:13:51 +01:00
|
|
|
|
|
|
|
# Get build deps
|
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
|
|
|
# Build package
|
2024-07-26 20:28:45 +02:00
|
|
|
LOGNAME=root dh_make --createorig -y -l -p pika-hyprland-desktop_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
2023-10-06 19:03:34 +02:00
|
|
|
dpkg-buildpackage --no-sign
|
2023-02-25 09:13:51 +01:00
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
|
|
|
mv ./*.deb ./output/
|