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

This commit is contained in:
Bart Ribbers 2024-07-23 22:02:28 +02:00 committed by Clayton Craft
parent f95a89a659
commit 31b49599c9
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
4 changed files with 12 additions and 3 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=postmarketos-ui-gnome
pkgver=3
pkgrel=9
pkgrel=10
pkgdesc="(Wayland) Gnome Shell"
url="https://gnome.org/"
# armhf blocked by gnome-shell -> gjs -> mozjs102
@ -25,7 +25,7 @@ _pmb_recommends="
nautilus
snapshot
"
install="$pkgname.post-install $pkgname.post-upgrade"
subpackages="$pkgname-openrc"
source="firefox-wayland.sh"
options="!check"
@ -34,6 +34,15 @@ package() {
"$srcdir"/firefox-wayland.sh \
-t "$pkgdir"/etc/profile.d/
}
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install $subpkgname.post-upgrade"
depends="gdm-openrc"
mkdir -p "$subpkgdir"
}
sha512sums="
0d9ec58be7dc354e181989c7f08e7d4dd93fefd06a99e784b87fe898479dd47a40dfa9689c6a63ebdc04bf87883a270686aec27f7cc34cb21ec0f370a4afe2d8 firefox-wayland.sh
"

View file

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

View file

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