ferreo c0774de500
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 18s
Upstream build
2025-02-07 15:46:17 +00:00

27 lines
535 B
Bash
Executable File

#! /bin/bash
set -e
. ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
VERSION="0.6.2"
# Clone Upstream
git clone https://github.com/hyprwm/hyprland-protocols.git -b v"$VERSION"
cp -rvf ./debian ./hyprland-protocols/
cd ./hyprland-protocols/
# Get build deps
LOGNAME=root dh_make --createorig -y -l -p hyprland-protocols_"$VERSION" || echo "dh-make: Ignoring Last Error"
apt-get build-dep ./ -y
# Build package
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/