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