main/postmarketos-ui-plasma-mobile: prepare for systemd presets (MR 5500)

the plasma-mobile.service file will be moved to systemd-services package
in extra-repos/systemd

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Clayton Craft 2024-08-16 17:00:16 -07:00
parent e66b7d1791
commit c99f56e384
No known key found for this signature in database
GPG Key ID: 4A4CED6D7EDF950A
3 changed files with 2 additions and 17 deletions

View File

@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=postmarketos-ui-plasma-mobile
pkgver=5
pkgrel=3
pkgrel=4
pkgdesc="(Wayland) Mobile variant of KDE Plasma (does not run without hardware acceleration)"
url="https://wiki.postmarketos.org/wiki/Plasma_Mobile"
arch="noarch !armhf !x86" # armhf: pmaports#75, x86: aports#11807
@ -35,7 +35,7 @@ source="
maliit-plasmamobile.json
org.kde.phone.homescreen.js
"
subpackages="$pkgname-extras $pkgname-openrc $pkgname-systemd"
subpackages="$pkgname-extras $pkgname-openrc"
replaces="plasma-mobile"
options="!check pmb:gpu-accel pmb:systemd"
@ -84,16 +84,6 @@ openrc() {
mkdir -p "$subpkgdir"
}
systemd() {
install_if="$pkgname=$pkgver-r$pkgrel systemd"
install="$subpkgname.post-install $subpkgname.post-upgrade"
install -Dm644 "$srcdir"/plasma-mobile.service \
"$subpkgdir"/usr/lib/systemd/system/plasma-mobile.service
}
sha512sums="
e12d8e98e28a795f879aebcceb32a991ee4abcb3bc5ec458aa5378bb52ff86cf39be04bc4a196925f532d623304b3005f561fa5e55d1c87944d718058ec4c0e6 plasma-mobile.service
b3aa8ee26c01de103c0c0af23532bf232f7071fdd02c53bd787d78e5974faa5662fc5776ce9be417392214ae73334b0eb0d073fe24f616a0ce99081f30b9158c kscreenlockerrc

View File

@ -1,4 +0,0 @@
#!/bin/sh
systemctl enable plasma-mobile
systemctl enable ModemManager

View File

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