hyprlang/main.sh

24 lines
356 B
Bash
Raw Normal View History

2023-06-10 21:49:37 +02:00
#! /bin/bash
DEBIAN_FRONTEND=noninteractive
2024-07-01 21:26:04 +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 21:26:04 +02:00
git clone --recurse-submodules https://github.com/hyprwm/hyprlang -b v0.5.2
cd hyprlang
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/