mirror of
https://github.com/sezanzeb/input-remapper
synced 2024-11-08 07:10:36 +00:00
update build.sh
This commit is contained in:
parent
41474e533a
commit
f1e2e01142
@ -3,12 +3,13 @@
|
|||||||
build_deb() {
|
build_deb() {
|
||||||
# https://www.devdungeon.com/content/debian-package-tutorial-dpkgdeb
|
# https://www.devdungeon.com/content/debian-package-tutorial-dpkgdeb
|
||||||
# that was really easy actually
|
# that was really easy actually
|
||||||
rm build dist -r
|
rm build -r
|
||||||
mkdir build/deb -p
|
mkdir build/deb -p
|
||||||
python3 setup.py install --root=build/deb
|
python3 setup.py install --root=build/deb
|
||||||
mv build/deb/usr/local/lib/python3.*/ build/deb/usr/lib/python3/
|
mv build/deb/usr/local/lib/python3.*/ build/deb/usr/lib/python3/
|
||||||
cp ./DEBIAN build/deb/ -r
|
cp ./DEBIAN build/deb/ -r
|
||||||
mkdir dist -p
|
mkdir dist -p
|
||||||
|
rm dist/key-mapper-0.6.1.deb || true
|
||||||
dpkg -b build/deb dist/key-mapper-0.6.1.deb
|
dpkg -b build/deb dist/key-mapper-0.6.1.deb
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user