main/postmarketos-ui-console: add -openrc subpackage (MR 5371)

[ci:skip-build] already built successfully in CI
This commit is contained in:
Clayton Craft 2024-07-17 23:33:42 -07:00
parent eace38e0d7
commit 979eedc73b
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
4 changed files with 10 additions and 3 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Clayton Craft <clayton@craftyguy.net> # Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=postmarketos-ui-console pkgname=postmarketos-ui-console
pkgver=0.1 pkgver=0.1
pkgrel=5 pkgrel=6
pkgdesc="Console environment, with no graphical/touch UI" pkgdesc="Console environment, with no graphical/touch UI"
url="https://postmarketos.org/" url="https://postmarketos.org/"
arch="noarch" arch="noarch"
@ -14,8 +14,15 @@ depends="
wireless-tools wireless-tools
" "
options="!check" # No testsuite options="!check" # No testsuite
install="$pkgname.post-install $pkgname.post-upgrade" subpackages="$pkgname-openrc:_openrc"
package() { package() {
mkdir -p "$pkgdir" mkdir -p "$pkgdir"
} }
_openrc() {
install_if="$pkgname=$pkgver-r$pkgrel openrc"
install="$subpkgname.post-install $subpkgname.post-upgrade"
depends="networkmanager-openrc"
mkdir -p "$subpkgdir"
}

View file

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

View file

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