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
|
2023-10-07 13:16:18 +02:00
|
|
|
git clone --recurse-submodules https://github.com/hyprwm/xdg-desktop-portal-hyprland.git -b v1.1.0
|
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/
|