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