2023-06-10 17:21:41 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
# Clone Upstream
|
2023-09-03 13:49:08 +02:00
|
|
|
wget -nv https://github.com/hyprwm/Hyprland/releases/download/v0.29.1/source-v0.29.1.tar.gz
|
|
|
|
tar -xf ./source-v0.29.1.tar.gz
|
2023-07-26 17:45:46 +02:00
|
|
|
cp -rvf ./debian ./hyprland-source
|
|
|
|
cd ./hyprland-source
|
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/
|