main/postmarketos-ui-mate: add -openrc subpackage (MR 5374)

This commit is contained in:
Bart Ribbers 2024-07-23 21:52:27 +02:00 committed by Clayton Craft
parent 61675345ca
commit 44b6052116
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
4 changed files with 16 additions and 5 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Jakko <jahau@rocketmail.com>
pkgname=postmarketos-ui-mate
pkgver=7
pkgrel=1
pkgrel=2
pkgdesc="(X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)"
url="http://mate-desktop.org/"
arch="noarch"
@ -12,10 +12,8 @@ depends="
dbus-x11
dnsmasq
elogind
elogind-openrc
gtk+2.0
lightdm
lightdm-openrc
mate-desktop-environment
mesa-egl
polkit-elogind
@ -33,7 +31,7 @@ _pmb_recommends="
onboard
unclutter-xfixes
"
install="$pkgname.post-install $pkgname.post-upgrade"
subpackages="$pkgname-openrc"
source="
000-system-background.gschema.override
001-screensaver.gschema.override
@ -66,6 +64,19 @@ package() {
"$pkgdir"/etc/skel/.config/gtk-3.0/gtk.css
}
openrc() {
install="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install $subpkgname.post-upgrade"
depends="
bluez-openrc
elogind-openrc
lightdm-openrc
networkmanager-openrc
"
mkdir -p "$subpkgdir"
}
sha512sums="
b4eded3d1aba2086d53507d434da6f2d5aae24fa49c7a8619abb1d81f87898d7a6d813be777a285ce988d78db236bea7507e7868c39fe020e5d23c230dd36242 000-system-background.gschema.override
fe6a37a1e22fbf29a8b6de3b3e137bc19becd6d80d391ad1a0c7908cb996dd9982c88ef55b84fd258a81263e37d47df5a81566ce7c337886ae4c0d7a83d640aa 001-screensaver.gschema.override

View file

@ -0,0 +1 @@
postmarketos-ui-mate-openrc.post-install

View file

@ -1 +0,0 @@
postmarketos-ui-mate.post-install