apx-gui/main.sh
Ward from fusion-voyager-3 69e554ba4e
All checks were successful
PikaOS Package Build & Release (Canary) (amd64-v3) / build (push) Successful in 30s
port to pika os 4
2024-07-29 17:02:00 +03:00

27 lines
524 B
Bash
Executable File

#! /bin/bash
set -e
VERSION="1.0.3"
source ./pika-build-config.sh
echo "$PIKA_BUILD_ARCH" > pika-build-arch
# Clone Upstream
git clone --recurse-submodules https://github.com/Vanilla-OS/apx-gui -b v"$VERSION"
cp -rvf ./debian ./apx-gui/
cd ./apx-gui
# Get build deps
apt-get build-dep ./ -y
# Build package
LOGNAME=root dh_make --createorig -y -l -p vanilla-apx-gui_"$VERSION" || echo "dh-make: Ignoring Last Error"
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/