diff --git a/main/postmarketos-ui-lxqt/APKBUILD b/main/postmarketos-ui-lxqt/APKBUILD index dc9f44244..0c0fcdb06 100644 --- a/main/postmarketos-ui-lxqt/APKBUILD +++ b/main/postmarketos-ui-lxqt/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Antoni Aloy pkgname=postmarketos-ui-lxqt pkgver=0.3 -pkgrel=3 +pkgrel=4 pkgdesc="(X11) Lightweight Qt Desktop Environment (stylus recommended)" url="https://lxqt-project.org/" # armhf: lxqt-desktop not available @@ -44,6 +44,7 @@ _pmb_recommends=" screengrab unclutter-xfixes " +install="$pkgname.post-install $pkgname.post-upgrade" subpackages="$pkgname-openrc" source=" $pkgname-$pkgver.tar.gz::https://gitlab.com/antoni.aloytorrens/lxqt-tablet/-/archive/$pkgver/lxqt-tablet-$pkgver.tar.gz diff --git a/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt-openrc.post-install b/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt-openrc.post-install index ed493acd9..786b24679 100644 --- a/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt-openrc.post-install +++ b/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt-openrc.post-install @@ -3,5 +3,3 @@ rc-update add elogind default rc-update add networkmanager default rc-update add tinydm default - -tinydm-set-session -s /usr/share/xsessions/lxqt.desktop diff --git a/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt.post-install b/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt.post-install new file mode 100644 index 000000000..00fda6132 --- /dev/null +++ b/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt.post-install @@ -0,0 +1,3 @@ +#!/bin/sh + +tinydm-set-session -s /usr/share/xsessions/lxqt.desktop diff --git a/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt.post-upgrade b/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt.post-upgrade new file mode 120000 index 000000000..c6dccf450 --- /dev/null +++ b/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt.post-upgrade @@ -0,0 +1 @@ +postmarketos-ui-lxqt.post-install \ No newline at end of file