hyprcursor/main.sh

27 lines
500 B
Bash
Raw Normal View History

2023-06-10 21:49:37 +02:00
#! /bin/bash
DEBIAN_FRONTEND=noninteractive
2024-07-01 20:39:31 +02:00
set -e
2023-07-26 17:33:42 +02:00
apt-get update
2024-07-01 22:27:03 +02:00
# Dead PikaOS 3 Workaround
apt-get install libglib2.0-0=2.78.0-2 libglib2.0-bin=2.78.0-2 libglib2.0-dev-bin=2.78.0-2 -y --allow-downgrades
2023-06-10 21:49:37 +02:00
# Clone Upstream
2024-07-01 20:39:31 +02:00
git clone --recurse-submodules https://github.com/hyprwm/hyprcursor -b v0.1.9
cd hyprcursor
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/