ags/main.sh
Ward Nakchbandi (Cosmic Fusion) aa15767a64
2024-07-10 09:20:59 +03:00

24 lines
352 B
Bash
Executable File

#! /bin/bash
DEBIAN_FRONTEND=noninteractive
# Clone Upstream
git clone --recurse-submodules https://github.com/Aylur/ags -b v1.8.2
cd ./ags
cp -rvf ../debian ./
# Get build deps
apt-get update
apt-get build-dep ./ -y
npm install
# Build package
dpkg-buildpackage --no-sign
# Move the debs to output
cd ../
mkdir -p ./output
mv ./*.deb ./output/