goverlay/main.sh

35 lines
878 B
Bash
Raw Normal View History

2024-07-25 16:18:26 +02:00
#! /bin/bash
set -e
VERSION="1.1.1"
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
2023-03-09 18:39:10 +01:00
2024-07-25 16:37:46 +02:00
# temp lib
if [[ $(cat ./.github/release-canary-v3) == "6" ]]
then
wget https://github.com/davidbannon/libqt6pas/releases/download/v6.2.8/libqt6pas6-dev_6.2.8-1_amd64.deb -O ./libqt6pas6-dev.deb
wget https://github.com/davidbannon/libqt6pas/releases/download/v6.2.8/libqt6pas6_6.2.8-1_amd64.deb -O ./libqt6pas6.deb
apt-get install ./libqt6pas6-dev.deb ./libqt6pas6.deb -y
fi
2023-03-09 18:39:10 +01:00
# Clone Upstream
2024-07-25 16:18:26 +02:00
git clone https://github.com/benjamimgois/goverlay -b "$VERSION"
2023-03-09 18:39:10 +01:00
cp -rvf ./debian ./goverlay
cd ./goverlay
# Get build deps
apt-get build-dep ./ -y
# Build package
2024-07-25 16:18:26 +02:00
LOGNAME=root dh_make --createorig -y -l -p goverlay_"$VERSION" || echo "dh-make: Ignoring Last Error"
dpkg-buildpackage --no-sign
2023-03-09 18:39:10 +01:00
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/