From 3db02d5b7e8565a6e0f918df532716cb878eb885 Mon Sep 17 00:00:00 2001 From: knotteye Date: Sat, 17 Apr 2021 16:35:12 -0500 Subject: [PATCH] Add .deb skeleton --- deb/DEBIAN/control | 10 ++++++++++ deb/DEBIAN/postinst | 2 ++ deb/DEBIAN/postrm | 2 ++ 3 files changed, 14 insertions(+) create mode 100644 deb/DEBIAN/control create mode 100755 deb/DEBIAN/postinst create mode 100755 deb/DEBIAN/postrm diff --git a/deb/DEBIAN/control b/deb/DEBIAN/control new file mode 100644 index 0000000..8ba7514 --- /dev/null +++ b/deb/DEBIAN/control @@ -0,0 +1,10 @@ +Package: plchat +Version: 1.0 +Section: net +Priority: optional +Architecture: linux-amd64 +Description: A pleroma chat client +Homepage: https://git.waldn.net/git/knotteye/plchat +Maintainer: Knott Eye +Depends: python3 (>=3.8.0), PyQt5 (=5.15.2), dbus, libmagic1, python-pyqt5.qtmultimedia, libc6, libgstreamer-plugins-bad1.0-0, qtgstreamer-plugins-qt5 +Suggests: gnome-keyring (>= 2.30) diff --git a/deb/DEBIAN/postinst b/deb/DEBIAN/postinst new file mode 100755 index 0000000..484e476 --- /dev/null +++ b/deb/DEBIAN/postinst @@ -0,0 +1,2 @@ +#!/bin/sh +ln -sf /usr/lib/plchat/plchat /usr/bin/plchat diff --git a/deb/DEBIAN/postrm b/deb/DEBIAN/postrm new file mode 100755 index 0000000..6599efe --- /dev/null +++ b/deb/DEBIAN/postrm @@ -0,0 +1,2 @@ +#!/bin/sh +rm -f /usr/bin/plchat