#!/bin/bash
destdir="debian/python3-paperwork"
sizes=(16 22 24 32 36 42 48 64 72 96 128 160 192 256 512)
for i in ${sizes[@]}; do
subdir=${i}x${i}
mkdir -p ${destdir}/usr/share/icons/hicolor/${subdir}/apps
cp data/paperwork_${i}.png ${destdir}/usr/share/icons/hicolor/${subdir}/apps/paperwork.png
done
mkdir -p ${destdir}/usr/share/icons/hicolor/scalable/apps
cp data/paperwork*.svg ${destdir}/usr/share/icons/hicolor/scalable/apps/
mkdir -p ${destdir}/usr/share/applications
cp debian/paperwork.desktop ${destdir}/usr/share/applications/
exit 0
