hyprland/main.sh
Ward Nakchbandi (Cosmic Fusion) c741117652
0.41.2
2024-07-01 20:19:54 +03:00

29 lines
669 B
Bash
Executable File

#! /bin/bash
set -e
# Dead Pika Release Quirk??
apt-get install libglib2.0-0=2.78.0-2 libglib2.0-bin=2.78.0-2 libglib2.0-dev-bin=2.78.0-2 -y --allow-downgrades
DEBIAN_FRONTEND=noninteractive
# Clone Upstream
git clone ./hyprland https://github.com/hyprwm/Hyprland -b v0.41.2 --depth=1
cp -rvf ./debian ./hyprland-source/debian
cd ./hyprland-source
#sed -i 's/\/usr\/local/\/usr/g' config.mk
#sed -E -i -e 's/(soversion = 12)([^032]|$$)/soversion = 12032/g' subprojects/wlroots/meson.build
# Get build deps
apt-get update
apt-get build-dep ./ -y
# Build package
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/