#!/usr/bin/make -f %: dh $@ override_dh_auto_build: # Nothing to build override_dh_auto_install: # Clone the repository mkdir -p $(CURDIR)/debian/picodulce/usr/share/picodulce git clone https://github.com/nixietab/picodulce.git $(CURDIR)/debian/picodulce/usr/share/picodulce # Create a virtual environment python3 -m venv $(CURDIR)/debian/picodulce/usr/share/picodulce/venv # Install dependencies . $(CURDIR)/debian/picodulce/usr/share/picodulce/venv/bin/activate && pip install -r $(CURDIR)/debian/picodulce/usr/share/picodulce/requirements.txt # Create the run.sh script install -Dm755 /dev/stdin $(CURDIR)/debian/picodulce/usr/share/picodulce/run.sh <