main/postmarketos-ui-plasma-desktop: new aport (!1005)

Signed-off-by: Danct12 <danct12@disroot.org>
This commit is contained in:
Danct12 2020-02-28 09:50:31 +07:00 committed by Oliver Smith
parent a5a2d0b5f4
commit 5029f563be
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
3 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,23 @@
# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=postmarketos-ui-plasma-desktop
pkgver=1
pkgrel=0
pkgdesc="(X11/Wayland) KDE Desktop Environment (works well with tablets)"
url="https://www.kde.org"
arch="noarch"
license="GPL-3.0-or-later"
depends="
kde-applications-base
plasma
postmarketos-artwork-wallpapers
qt5-qtvirtualkeyboard
sddm
xorg-server-xwayland
"
install="$pkgname.post-install $pkgname.post-upgrade"
options="!check" # No tests for a metapkg
package() {
mkdir -p "$pkgdir"
}

View file

@ -0,0 +1,11 @@
#!/bin/sh
SDDM_CONF=/etc/sddm.conf
if [ -f ${SDDM_CONF} ]; then
if ! grep -q "InputMethod" $SDDM_CONF; then
echo "InputMethod=qtvirtualkeyboard" >> $SDDM_CONF
fi
fi
rc-update add sddm default

View file

@ -0,0 +1 @@
postmarketos-ui-plasma-desktop.post-install