From 27106a9bb4e7755e4848655f8ad0f35daef19600 Mon Sep 17 00:00:00 2001 From: knotteye Date: Mon, 19 Apr 2021 16:34:15 -0500 Subject: [PATCH] fix deb/DEBIAN for real this time --- deb/DEBIAN/control | 8 ++++---- deb/DEBIAN/postinst | 1 + deb/DEBIAN/postrm | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/deb/DEBIAN/control b/deb/DEBIAN/control index 890bb2e..5ca6bd1 100644 --- a/deb/DEBIAN/control +++ b/deb/DEBIAN/control @@ -2,10 +2,10 @@ Package: plchat Version: 1.0.1 Section: net Priority: optional -Architecture: linux-amd64 +Architecture: amd64 Description: A pleroma chat client Homepage: https://git.waldn.net/git/knotteye/plchat -Maintainer: Knott Eye -Pre-Depends: python3 (= 3.8.0~), python3-pip(>= 19.3), python3-venv, bash +Maintainer: Knott Eye +Pre-Depends: python3 (>= 3.8.0~), python3-pip (>= 19.3), python3-venv, bash Depends: dbus, libmagic1, libc6, gstreamer1.0-nice, gstreamer1.0-libav, gstreamer1.0-plugins-bad, gstreamer1.0-plugins-good, gstreamer1.0-plugins-ugly, gstreamer1.0-qt5, gstreamer1.0-plugins-base, gstreamer1.0-python3-plugin-loader -Suggests: gnome-keyring (>= 2.30) +Suggests: gnome-keyring diff --git a/deb/DEBIAN/postinst b/deb/DEBIAN/postinst index dfde7ac..99eee81 100755 --- a/deb/DEBIAN/postinst +++ b/deb/DEBIAN/postinst @@ -4,3 +4,4 @@ cd /usr/lib/plchat python3 -m venv venv source venv/bin/activate pip3 install PyQt5==5.15.4 PyQt5-Qt5 PyQt5-sip certifi cryptography +ln -sf /usr/lib/plchat/dist/plchat /usr/bin/plchat diff --git a/deb/DEBIAN/postrm b/deb/DEBIAN/postrm index c5dcca3..5c2ed97 100755 --- a/deb/DEBIAN/postrm +++ b/deb/DEBIAN/postrm @@ -1,3 +1,3 @@ #!/bin/sh -rm -rf /usr/lib/plchat rm -f /usr/bin/plchat +