2023-06-10 17:21:41 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
# Clone Upstream
|
2024-07-01 18:07:07 +02:00
|
|
|
wget -nv https://github.com/hyprwm/Hyprland/releases/download/v.0/source-v.0.tar.gz
|
|
|
|
tar -xf ./source-v.0.tar.gz
|
2024-07-01 18:11:11 +02:00
|
|
|
cp -rvf ./debian ./hyprland-source/
|
2023-07-26 17:45:46 +02:00
|
|
|
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
|
2024-07-01 18:11:11 +02:00
|
|
|
#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/
|