From 9afc70ed6f9faeac48af1c4eac2a61f79370127d Mon Sep 17 00:00:00 2001 From: sezanzeb Date: Sun, 29 Nov 2020 12:16:08 +0100 Subject: [PATCH] wip debian package --- build.sh | 4 ++-- deb/DEBIAN/control | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 deb/DEBIAN/control diff --git a/build.sh b/build.sh index 687934c3..c0be4c7d 100755 --- a/build.sh +++ b/build.sh @@ -2,10 +2,10 @@ # build the .deb and .appimage files # https://ubuntuforums.org/showthread.php?t=1002909 -dist=deb +dist=dist name=key-mapper-0.1.0 -python3 setup.py sdist --dist-dir deb +python3 setup.py sdist --dist-dir $dist tar -C deb -xzf $dist/$name.tar.gz cp $dist/DEBIAN $dist/$name -r dpkg-deb -b $dist/$name $name.deb diff --git a/deb/DEBIAN/control b/deb/DEBIAN/control new file mode 100644 index 00000000..1a4ac411 --- /dev/null +++ b/deb/DEBIAN/control @@ -0,0 +1,6 @@ +Package: key-mapper +Version: 0.1.0 +Architecture: all +Maintainer: Sezanzeb +Depends: python3, python3-setuptools, python3-evdev, python3-dbus +Description: A tool to change the mapping of your input device buttons