2023-08-20 15:25:07 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
# Clone Upstream
|
2023-08-20 15:27:12 +02:00
|
|
|
git clone https://github.com/ferrreo/ags.git
|
|
|
|
cd ./ags
|
2023-08-29 13:31:52 +02:00
|
|
|
git checkout systray
|
2023-08-20 15:27:12 +02:00
|
|
|
git submodule update --init
|
|
|
|
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/
|