aquamarine/main.sh

26 lines
513 B
Bash
Raw Normal View History

2024-08-26 00:19:11 +02:00
#! /bin/bash
set -e
2024-09-01 21:57:20 +02:00
VERSION="0.3.3-git5"
2024-08-26 00:19:11 +02:00
2024-08-26 00:33:36 +02:00
source ./pika-build-config.sh
2024-08-26 00:19:11 +02:00
2024-08-26 00:33:36 +02:00
echo "$PIKA_BUILD_ARCH" > pika-build-arch
2024-08-26 00:19:11 +02:00
# Clone Upstream
2024-08-30 11:43:23 +02:00
git clone --recurse-submodules https://github.com/hyprwm/aquamarine
2024-08-26 00:33:36 +02:00
cp -rvf ./debian ./aquamarine/
cd ./aquamarine
2024-08-26 00:19:11 +02:00
# Get build deps
apt-get build-dep ./ -y
# Build package
2024-08-26 00:33:36 +02:00
LOGNAME=root dh_make --createorig -y -l -p aquamarine_"$VERSION" || echo "dh-make: Ignoring Last Error"
2024-08-26 00:19:11 +02:00
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
2024-08-26 00:33:36 +02:00
mv ./*.deb ./output/