hyprwayland-scanner/main.sh

24 lines
379 B
Bash
Raw Normal View History

2023-06-10 21:49:37 +02:00
#! /bin/bash
DEBIAN_FRONTEND=noninteractive
2024-07-01 19:44:53 +02:00
set -e
2023-07-26 17:33:42 +02:00
apt-get update
2023-06-10 21:49:37 +02:00
# Clone Upstream
2024-07-01 20:20:33 +02:00
git clone --recurse-submodules https://github.com/hyprwm/hyprwayland-scanner -b v0.3.10
2024-07-01 19:48:14 +02:00
cd hyprwayland-scanner
2023-06-10 22:37:16 +02:00
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/