main/postmarketos-ui-gnome-mobile: fix openrc subpkg (MR 5500)

This should only be installed when openrc is installed
This commit is contained in:
Clayton Craft 2024-08-16 11:24:13 -07:00
parent 7ada051cd6
commit 02e90fec66
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A

View file

@ -2,7 +2,7 @@
# Maintainer: Newbyte <newbyte@postmarketos.org>
pkgname=postmarketos-ui-gnome-mobile
pkgver=2
pkgrel=5
pkgrel=6
pkgdesc="(Wayland) Gnome Shell patched to adapt better to phones (Experimental)"
url="https://gnome.org/"
arch="noarch !armhf !riscv64" # gnome-shell / riscv64: mutter-mobile
@ -54,7 +54,7 @@ package() {
}
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel"
install_if="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install $subpkgname.post-upgrade"
depends="gdm-openrc"