diff --git a/main/postmarketos-ui-lxqt/APKBUILD b/main/postmarketos-ui-lxqt/APKBUILD new file mode 100644 index 000000000..b63c7fb6b --- /dev/null +++ b/main/postmarketos-ui-lxqt/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Antoni Aloy +pkgname=postmarketos-ui-lxqt +pkgver=0.1 +pkgrel=0 +pkgdesc="(X11) Lightweight Qt Desktop Environment (stylus recommended)" +url="https://lxqt-project.org/" +arch="noarch !armhf" # lxqt-desktop not available on armhf +license="GPL-3.0-or-later" +depends=" + elogind + tinydm + tinydm-openrc + lxpolkit + mesa-egl + dbus-x11 + lxqt-desktop + xorg-server + " +_pmb_recommends=" + paper-icon-theme + gnome-keyring + pavucontrol + pm-utils + postmarketos-artwork-icons + postmarketos-artwork-wallpapers + pulseaudio-utils + network-manager-applet + " +install="$pkgname.post-install $pkgname.post-upgrade" +source="$pkgname-$pkgver.tar.gz::https://gitlab.com/antoni.aloytorrens/lxqt-tablet/-/archive/$pkgver/lxqt-tablet-$pkgver.tar.gz" +options="!check" # No testsuite +builddir="$srcdir/lxqt-tablet-$pkgver" + +package() { + install -d -m755 "$pkgdir"/etc/skel + cp -a "$builddir"/config "$pkgdir"/etc/skel/.config +} + +sha512sums="63492fd0ad8ffb1d0a9f4f3f53eb4b8a21e670ba5a2a62c86b38f60b77578cfd9970b0767c875fd263e06367f998a2e895b33562b0235b831c4aa34177e14ea6 postmarketos-ui-lxqt-0.1.tar.gz" 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..698770ef2 --- /dev/null +++ b/main/postmarketos-ui-lxqt/postmarketos-ui-lxqt.post-install @@ -0,0 +1,5 @@ +#!/bin/sh + +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-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