This repository has been archived on 2024-07-26. You can view files and clone it, but cannot push or open issues or pull requests.
gtklock/main.sh

23 lines
390 B
Bash
Raw Permalink Normal View History

2023-07-06 17:35:58 +02:00
#! /bin/bash
DEBIAN_FRONTEND=noninteractive
# Clone Upstream
2023-07-06 17:37:33 +02:00
git clone https://github.com/jovanlanik/gtklock.git --recurse-submodules
cd gtklock
git checkout v2.1.0
cp -rvf ../debian ./
2023-07-06 17:35:58 +02:00
2023-07-06 18:00:27 +02:00
sed -e 's /usr/local /usr g' -i makefile
2023-07-06 17:35:58 +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/