2023-08-20 15:25:07 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
2024-07-10 08:26:11 +02:00
|
|
|
# Dead PikaOS3 Release Quirk??
|
|
|
|
apt-get install libglib2.0-0=2.78.0-2 libglib2.0-bin=2.78.0-2 libglib2.0-dev-bin=2.78.0-2 -y --allow-downgrades
|
|
|
|
|
2023-08-20 15:25:07 +02:00
|
|
|
# Clone Upstream
|
2024-07-10 08:20:59 +02:00
|
|
|
git clone --recurse-submodules https://github.com/Aylur/ags -b v1.8.2
|
2023-08-20 15:27:12 +02:00
|
|
|
cd ./ags
|
|
|
|
cp -rvf ../debian ./
|
|
|
|
|
2023-08-20 15:25:07 +02:00
|
|
|
|
|
|
|
# Get build deps
|
2023-08-20 15:27:12 +02:00
|
|
|
apt-get update
|
2023-08-20 15:25:07 +02:00
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
2023-08-20 15:34:17 +02:00
|
|
|
npm install
|
|
|
|
|
2023-08-20 15:25:07 +02:00
|
|
|
# Build package
|
|
|
|
dpkg-buildpackage --no-sign
|
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
|
|
|
mv ./*.deb ./output/
|