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-02 11:55:16 +01:00
|
|
|
VERSION="0.44.1git7"
|
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-10-30 16:40:40 +01:00
|
|
|
git clone --recurse-submodules https://github.com/hyprwm/hyprland
|
2024-11-02 11:55:16 +01:00
|
|
|
cd ./hyprland
|
|
|
|
git checkout 3852418d2446555509738bf1486940042107afe7
|
|
|
|
cd ..
|
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/
|