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

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

View file

@ -1,7 +1,7 @@
# Reference: https://postmarketos.org/uipkg
# Maintainer: hexaheximal <hexaheximal@proton.me>
pkgname=postmarketos-ui-openbox
pkgver=0.1
pkgver=1
pkgrel=0
pkgdesc="(X11) A highly configurable and lightweight X11 window manager (keyboard required)"
url="https://openbox.org/"
@ -11,10 +11,8 @@ depends="
dmenu-virtual
dnsmasq
elogind
elogind-openrc
openbox
tinydm
tinydm-openrc
mesa-egl
polkit-elogind
postmarketos-base-ui
@ -23,9 +21,21 @@ depends="
xterm
xorg-server
"
install="$pkgname.post-install $pkgname.post-upgrade"
subpackages="$pkgname-openrc"
options="!check"
package() {
mkdir -p "$pkgdir"
}
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel"
install="$subpkgname.post-install $subpkgname.post-upgrade"
depends="
elogind-openrc
networkmanager-openrc
tinydm-openrc
"
mkdir -p "$subpkgdir"
}

View file

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

View file

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