hyprland-git/main.sh

27 lines
509 B
Bash
Raw Normal View History

2024-12-22 17:16:05 +01:00
#! /bin/bash
set -e
2024-12-22 17:16:43 +01:00
VERSION="0.47.0git"
2024-12-22 17:16:05 +01:00
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
# Clone Upstream
git clone --recurse-submodules https://github.com/hyprwm/hyprland
cp -rvf ./debian ./hyprland/
cd ./hyprland
# Get build deps
apt-get build-dep ./ -y
# Build package
2024-12-22 17:16:43 +01:00
LOGNAME=root dh_make --createorig -y -l -p hyprland-git_"$VERSION" || echo "dh-make: Ignoring Last Error"
2024-12-22 17:16:05 +01:00
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/