piso/packages/Ubuntu/makedeb.sh
#!/usr/bin/bash
mkdir -p Piso/DEBIAN
echo "Package: Piso
Version: 0.1
Maintainer: Fabio Di Matteo <fadimatteo@gmail.com>
Section: x11
Source: https://www.freemedialab.org/code/tmp/piso.zip
Homepage: https://www.freemedialab.org/code/piso
Architecture: all
Priority: optional
Depends: libwxgtk3.0-gtk3-0v5 (>=3.0.0),libminiupnpc17 (>=2.2.3), curl
Description: Piso allows you to share files across the network without the use of external servers.
" >Piso/DEBIAN/control
mkdir -p Piso/opt/piso
mkdir -p Piso/usr/share/applications
cp ../../build/piso Piso/opt/piso/
cp ../../icon.png Piso/opt/piso/
cp ../../piso.desktop Piso/usr/share/applications/
dpkg-deb --root-owner-group --build Piso