#!/bin/bash if [ -d unpack ]; then sudo rm -rf unpack fi version="0.1.0" mkdir -p unpack/DEBIAN cp debian/control unpack/DEBIAN/ cp -r usr unpack/ cd unpack find . -type f | xargs md5sum > DEBIAN/md5sums cd .. dpkg-deb -b unpack/ "python3-webengine-gtk3-${version}.deb" sudo rm -rf unpack