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
2023-07-06 17:00:27 +01:00

23 lines
390 B
Bash
Executable File

#! /bin/bash
DEBIAN_FRONTEND=noninteractive
# Clone Upstream
git clone https://github.com/jovanlanik/gtklock.git --recurse-submodules
cd gtklock
git checkout v2.1.0
cp -rvf ../debian ./
sed -e 's /usr/local /usr g' -i makefile
# 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/