wip debian package

This commit is contained in:
sezanzeb 2020-11-29 12:10:35 +01:00
parent e792f0e1bf
commit 23f83da7e7

View File

@ -2,10 +2,12 @@
# build the .deb and .appimage files # build the .deb and .appimage files
# https://ubuntuforums.org/showthread.php?t=1002909 # https://ubuntuforums.org/showthread.php?t=1002909
dist=deb
name=key-mapper-0.1.0
python3 setup.py sdist --dist-dir deb python3 setup.py sdist --dist-dir deb
tar -C deb -xzf dist/key-mapper-0.1.0.tar.gz tar -C deb -xzf $dist/$name.tar.gz
cp deb/DEBIAN deb/key-mapper-0.1.0 -r cp $dist/DEBIAN $dist/$name -r
dpkg-deb -b deb/key-mapper-0.1.0/ key-mapper-0.1.0.deb dpkg-deb -b $dist/$name $name.deb
rm deb/key-mapper-0.1.0 -r rm $dist/$name -r