ags/main.sh

26 lines
393 B
Bash
Raw Normal View History

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
git checkout mpris-use-hash-for-cache
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/