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

This commit is contained in:
Bart Ribbers 2024-07-23 21:32:24 +02:00 committed by Clayton Craft
parent 2448473417
commit e327f9a79e
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
5 changed files with 14 additions and 3 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Craig Comstock <craig@unreasonablefarm.org> # Maintainer: Craig Comstock <craig@unreasonablefarm.org>
pkgname=postmarketos-ui-shelli pkgname=postmarketos-ui-shelli
pkgver=3 pkgver=3
pkgrel=6 pkgrel=7
pkgdesc="Plain console with touchscreen gesture support" pkgdesc="Plain console with touchscreen gesture support"
url="https://gitlab.com/unrznbl/shelli" url="https://gitlab.com/unrznbl/shelli"
arch="all" arch="all"
@ -15,10 +15,21 @@ depends="
postmarketos-base-ui-networkmanager postmarketos-base-ui-networkmanager
shelli shelli
" "
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade" subpackages="$pkgname-openrc"
options="!check" # No tests options="!check" # No tests
package() { package() {
mkdir -p "$pkgdir" mkdir -p "$pkgdir"
} }
openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install $subpkgname.pre-deinstall $subpkgname.post-upgrade"
depends="
networkmanager-openrc
ofono-openrc
shelli-openrc
"
mkdir -p "$subpkgdir"
}

View file

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

View file

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