main/postmarketos-ui-shelli: add -openrc subpackage (MR 5374)
This commit is contained in:
parent
2448473417
commit
e327f9a79e
5 changed files with 14 additions and 3 deletions
|
@ -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"
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
postmarketos-ui-shelli-openrc.post-install
|
|
@ -1 +0,0 @@
|
||||||
postmarketos-ui-shelli.post-install
|
|
Loading…
Reference in a new issue