#!/bin/bash # $1 is the app source location, $2 is the svg icon mkdir -p out rm -rf debian/usr/share/notepost mkdir -p debian/usr/share/notepost mkdir -p debian/usr/share/doc/notepost rsync -rv "$1" debian/usr/share/notepost cp debian/DEBIAN/copyright debian/usr/share/doc/notepost/ cp "$2" debian/usr/share/notepost/logo.svg dpkg-deb -b debian "out/notepost_1.2.0-1_all.deb"