hyprland/main.sh

25 lines
489 B
Bash
Raw Normal View History

2023-06-10 17:21:41 +02:00
#! /bin/bash
DEBIAN_FRONTEND=noninteractive
# Clone Upstream
2023-07-26 17:21:49 +02:00
git clone https://github.com/hyprwm/Hyprland.git
cd Hyprland
2023-07-26 17:23:45 +02:00
git submodule update --init
2023-07-26 17:24:52 +02:00
cp -rvf ../debian ./
2023-06-10 17:35:52 +02:00
2023-06-10 21:24:44 +02:00
#sed -i 's/\/usr\/local/\/usr/g' config.mk
sed -E -i -e 's/(soversion = 12)([^032]|$$)/soversion = 12032/g' subprojects/wlroots/meson.build
2023-06-10 17:35:52 +02:00
2023-06-10 17:21:41 +02:00
# Get build deps
2023-07-26 17:36:06 +02:00
apt-get update
2023-06-10 17:21:41 +02:00
apt-get build-dep ./ -y
# Build package
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/