This repository has been archived on 2024-07-30. You can view files and clone it, but cannot push or open issues or pull requests.
wayland-protocols/main.sh

23 lines
527 B
Bash
Raw Normal View History

2023-08-10 20:27:59 +02:00
#! /bin/bash
DEBIAN_FRONTEND=noninteractive
2023-08-10 20:29:23 +02:00
apt-get update
2023-08-10 20:27:59 +02:00
# Clone Upstream
2023-08-10 20:29:23 +02:00
git clone https://gitlab.freedesktop.org/wayland/wayland-protocols.git
cd wayland-protocols
git checkout 1.32
cp -rvf ../debian ./
2023-11-11 15:32:22 +01:00
for i in $(cat ../patches/series) ; do echo "Applying Patch: $i" && patch -Np1 -i ../patches/$i || bash -c "echo "Applying Patch $i Failed!" && exit 2"; done
2023-08-10 20:27:59 +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/