2023-07-06 18:59:29 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
# Clone Upstream
|
2023-07-06 19:00:15 +02:00
|
|
|
git clone https://github.com/waycrate/wayshot.git --recurse-submodules
|
|
|
|
cd wayshot
|
|
|
|
cp -rvf ../debian ./
|
2023-07-06 18:59:29 +02:00
|
|
|
|
|
|
|
# Get build deps
|
|
|
|
apt-get build-dep ./ -y
|
|
|
|
|
|
|
|
# Build package
|
|
|
|
dpkg-buildpackage --no-sign
|
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
|
|
|
mv ./*.deb ./output/
|