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
|
|
|
|
|
|
|
|
# Build package
|
|
|
|
dpkg-buildpackage --no-sign
|
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
|
|
|
mv ./*.deb ./output/
|