Added build script

This commit is contained in:
Manuel Cortez 2017-03-30 08:57:57 -06:00
parent 75037325ba
commit 06d0605ffd

11
build-deb.sh Normal file
View File

@ -0,0 +1,11 @@
#!/bin/bash
#please, run this script as root
#make directories
mkdir -p debian/usr/lib/python3.4/dist-packages/guicurses
#copy files
cp guicurses/__init__.py guicurses/widgets.py guicurses/window.py guicurses_0.5/usr/lib/python3.4/dist-packages/guicurses
chown -R root.root guicurses_0.5
chmod -R 755 guicurses_0.5
chmod 644 guicurses_0.5/DEBIAN/control
#build the package
dpkg-deb --build guicurses_0.5