2023-06-10 17:21:41 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
2024-07-01 18:50:28 +02:00
|
|
|
set -e
|
2023-06-10 17:21:41 +02:00
|
|
|
|
2024-11-18 16:24:30 +01:00
|
|
|
VERSION="0.45.1git"
|
2024-07-01 18:55:36 +02:00
|
|
|
|
2024-07-27 16:05:52 +02:00
|
|
|
source ./pika-build-config.sh
|
|
|
|
|
|
|
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
2024-07-01 18:45:16 +02:00
|
|
|
|
2023-06-10 17:21:41 +02:00
|
|
|
# Clone Upstream
|
2024-11-18 17:48:42 +01:00
|
|
|
git clone --recurse-submodules https://github.com/hyprwm/hyprland
|
2024-07-27 16:05:52 +02:00
|
|
|
cp -rvf ./debian ./hyprland/
|
2024-07-01 19:21:53 +02:00
|
|
|
cd ./hyprland
|
2023-06-10 17:35:52 +02:00
|
|
|
|
2023-06-10 17:21:41 +02:00
|
|
|
# Get build deps
|
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
|
|
|
# Build package
|
2024-07-27 16:05:52 +02:00
|
|
|
LOGNAME=root dh_make --createorig -y -l -p hyprland_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
2023-06-10 17:21:41 +02:00
|
|
|
dpkg-buildpackage --no-sign
|
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
|
|
|
mv ./*.deb ./output/
|