2024-08-26 00:19:11 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2024-09-01 12:19:14 +02:00
|
|
|
VERSION="0.3.3-git4"
|
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-09-01 12:24:55 +02:00
|
|
|
cd ./aquamarine
|
2024-09-01 12:19:14 +02:00
|
|
|
git checkout b9ab839ab3cb692051fdeee914c38e555d4862b6
|
2024-09-01 12:24:47 +02:00
|
|
|
cd ..
|
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/
|