apx-gui/main.sh

27 lines
524 B
Bash
Raw Normal View History

2023-08-14 17:36:20 +02:00
#! /bin/bash
2024-07-29 15:57:40 +02:00
set -e
2024-07-29 16:02:00 +02:00
VERSION="1.0.3"
2024-07-29 15:57:40 +02:00
source ./pika-build-config.sh
2023-08-14 17:33:29 +02:00
2024-07-29 15:57:40 +02:00
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
2023-02-24 15:13:32 +01:00
# Get build deps
2023-02-24 15:39:01 +01:00
apt-get build-dep ./ -y
2023-02-24 15:13:32 +01:00
2023-02-24 15:56:38 +01:00
# Build package
2024-07-29 15:57:40 +02:00
LOGNAME=root dh_make --createorig -y -l -p vanilla-apx-gui_"$VERSION" || echo "dh-make: Ignoring Last Error"
2023-05-11 10:22:59 +02:00
dpkg-buildpackage --no-sign
2023-02-24 15:56:38 +01:00
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/