goverlay/main.sh
Ward from fusion-voyager-3 851cd3188f
Some checks failed
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Failing after 44s
port to pika os 4
2024-07-25 17:28:48 +03:00

33 lines
768 B
Bash
Executable File

#! /bin/bash
set -e
VERSION="1.1.1"
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
# Clone Upstream
git clone https://github.com/benjamimgois/goverlay -b "$VERSION"
cp -rvf ./debian ./goverlay
cd ./goverlay
# Get build deps
apt-get build-dep ./ -y
# temp lib
if $(cat ./.github/release-canary-v3) = "2"
then
wget https://github.com/davidbannon/libqt6pas/releases/download/v6.2.8/libqt6pas6-dev_6.2.8-1_amd64.deb
wget https://github.com/davidbannon/libqt6pas/releases/download/v6.2.8/libqt6pas6_6.2.8-1_amd64.deb
fi
# Build package
LOGNAME=root dh_make --createorig -y -l -p goverlay_"$VERSION" || echo "dh-make: Ignoring Last Error"
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/