input-remapper/build.sh
2020-11-29 12:23:14 +01:00

27 lines
483 B
Bash
Executable File

#!/usr/bin/env bash
build_deb() {
# https://github.com/phusion/debian-packaging-for-the-modern-developer/tree/master/tutorial-1
dist=dist
name=key-mapper-0.1.0
python3 setup.py sdist --dist-dir $dist
tar -C $dist -xzf $dist/$name.tar.gz
rm $dist/$name.tar.gz
cp deb/DEBIAN $dist/$name -r
dpkg-deb -b $dist/$name $dist/$name.deb
rm $dist/$name -r
cp $dist/$name.deb deb
echo ".deb package created"
}
build_appimage() {
}
build_deb &
build_appimage &
wait