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

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

View file

@ -2,7 +2,7 @@
# Maintainer: Affe Null <affenull2345@gmail.com>
pkgname=postmarketos-ui-bananui
pkgver=1
pkgrel=1
pkgrel=2
pkgdesc="(Wayland) Keypad controlled UI for feature phones"
url="https://git.abscue.de/obp/bananui"
arch="noarch"
@ -33,10 +33,22 @@ _pmb_groups="
seat
wroomd
"
install="$pkgname.post-install $pkgname.post-upgrade"
subpackages="$pkgname-openrc"
options="!check"
package() {
mkdir -p "$pkgdir"
}
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install $subpkgname.post-upgrade"
depends="
networkmanager-openrc
seatd-dev
tinydm-openrc
wroomd-dev
"
mkdir -p "$subpkgdir"
}

View file

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

View file

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