Added build script
This commit is contained in:
parent
75037325ba
commit
06d0605ffd
11
build-deb.sh
Normal file
11
build-deb.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user