2023-06-10 21:49:37 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
2023-07-26 17:33:42 +02:00
|
|
|
apt-get update
|
|
|
|
|
2023-06-10 21:49:37 +02:00
|
|
|
# Clone Upstream
|
2024-07-01 23:48:45 +02:00
|
|
|
git clone --depth=1 --recurse-submodules https://github.com/hyprwm/xdg-desktop-portal-hyprland.git -b v1.3.2
|
2023-06-10 22:37:16 +02:00
|
|
|
cd xdg-desktop-portal-hyprland
|
|
|
|
cp -rvf ../debian ./
|
2023-06-10 21:49:37 +02:00
|
|
|
|
|
|
|
# Get build deps
|
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
|
|
|
# Build package
|
|
|
|
dpkg-buildpackage --no-sign
|
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
|
|
|
mv ./*.deb ./output/
|