main/postmarketos-ui-console: add -openrc subpackage (MR 5371)
[ci:skip-build] already built successfully in CI
This commit is contained in:
parent
eace38e0d7
commit
979eedc73b
4 changed files with 10 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
||||
pkgname=postmarketos-ui-console
|
||||
pkgver=0.1
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
pkgdesc="Console environment, with no graphical/touch UI"
|
||||
url="https://postmarketos.org/"
|
||||
arch="noarch"
|
||||
|
@ -14,8 +14,15 @@ depends="
|
|||
wireless-tools
|
||||
"
|
||||
options="!check" # No testsuite
|
||||
install="$pkgname.post-install $pkgname.post-upgrade"
|
||||
subpackages="$pkgname-openrc:_openrc"
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir"
|
||||
}
|
||||
|
||||
_openrc() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
||||
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
||||
depends="networkmanager-openrc"
|
||||
mkdir -p "$subpkgdir"
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
postmarketos-ui-console-openrc.post-install
|
|
@ -1 +0,0 @@
|
|||
postmarketos-ui-console.post-install
|
Loading…
Reference in a new issue