diff --git a/main/postmarketos-ui-lxqt/APKBUILD b/main/postmarketos-ui-lxqt/APKBUILD index d9e2c1a9c..efc6d80a0 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=1 +pkgrel=2 pkgdesc="(X11) Lightweight Qt Desktop Environment (stylus recommended)" url="https://lxqt-project.org/" # armhf: lxqt-desktop not available @@ -12,7 +12,6 @@ depends=" dbus-x11 dnsmasq elogind - elogind-openrc lxqt-desktop lxqt-policykit mesa-egl @@ -21,7 +20,6 @@ depends=" postmarketos-base-ui-networkmanager setxkbmap tinydm - tinydm-openrc upower xfce4-screensaver xorg-server @@ -45,7 +43,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 10_onboard.gschema.override @@ -81,6 +79,18 @@ package() { "$srcdir"/lxqt-tablet.sh } +openrc() { + install_if="$pkgname=$pkgver-r$pkgrel openrc" + install="$subpkgname.post-install $subpkgname.post-upgrade" + depends=" + elogind-openrc + networkmanager-openrc + tinydm-openrc + " + + mkdir -p "$subpkgdir" +} + sha512sums=" d3bfa79f4f7dbf478ea5b321918d8a733a726839ab92b02c85a53fd3102b5b2cc5c928fbdfb6bc05bb7e8038bf13d45ccd73975160046912128bcfb4e2f2909c postmarketos-ui-lxqt-0.3.tar.gz ffcc518ff58d37de302bd101e57bf983800e45899645d476045d0a74096704333a0b513f45e6a5485fdbd80ac1caebce14a760cab6fcc6d5dde0d766ade8b58b 10_onboard.gschema.override diff --git a/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt.post-install b/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt-openrc.post-install similarity index 100% rename from main/postmarketos-ui-lxqt/postmarketos-ui-lxqt.post-install rename to main/postmarketos-ui-lxqt/postmarketos-ui-lxqt-openrc.post-install diff --git a/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt-openrc.post-upgrade b/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt-openrc.post-upgrade new file mode 120000 index 000000000..16a54c8e6 --- /dev/null +++ b/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt-openrc.post-upgrade @@ -0,0 +1 @@ +postmarketos-ui-lxqt-openrc.post-install \ No newline at end of file diff --git a/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt.post-upgrade b/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt.post-upgrade deleted file mode 120000 index c6dccf450..000000000 --- a/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt.post-upgrade +++ /dev/null @@ -1 +0,0 @@ -postmarketos-ui-lxqt.post-install \ No newline at end of file