mirror of
https://github.com/sezanzeb/input-remapper
synced 2024-11-04 12:00:16 +00:00
19 lines
465 B
Bash
Executable File
19 lines
465 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
build_deb() {
|
|
# https://www.devdungeon.com/content/debian-package-tutorial-dpkgdeb
|
|
# that was really easy actually
|
|
rm build -r
|
|
mkdir build/deb -p
|
|
python3 setup.py install --root=build/deb
|
|
mv build/deb/usr/local/lib/python3.*/ build/deb/usr/lib/python3/
|
|
cp ./DEBIAN build/deb/ -r
|
|
mkdir dist -p
|
|
rm dist/key-mapper-0.6.1.deb || true
|
|
dpkg -b build/deb dist/key-mapper-0.6.1.deb
|
|
}
|
|
|
|
build_deb &
|
|
# add more build targets here
|
|
|
|
wait |