main/postmarketos-ui-fbkeyboard: add -openrc subpackage (MR 5374)
This commit is contained in:
parent
250b96f0fa
commit
3e26598a1b
5 changed files with 14 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Ferenc Bakonyi <bakonyi.ferenc@gmail.com>
|
||||
pkgname=postmarketos-ui-fbkeyboard
|
||||
pkgver=3
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Plain framebuffer console with touchscreen keyboard support"
|
||||
url="https://github.com/bakonyiferenc/fbkeyboard"
|
||||
arch="all"
|
||||
|
@ -13,7 +13,7 @@ depends="
|
|||
postmarketos-base-ui
|
||||
postmarketos-base-ui-networkmanager
|
||||
"
|
||||
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
|
||||
subpackages="$pkgname-openrc"
|
||||
source="fbkeyboard.init"
|
||||
options="!check" # No tests
|
||||
|
||||
|
@ -21,6 +21,17 @@ package() {
|
|||
install -Dm755 "$srcdir"/fbkeyboard.init "$pkgdir"/etc/init.d/fbkeyboard
|
||||
}
|
||||
|
||||
openrc() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
||||
install="$subpkgname.post-install $subpkgname.pre-deinstall $subpkgname.post-upgrade"
|
||||
depends="
|
||||
fbkeyboard-openrc
|
||||
networkmanager-openrc
|
||||
"
|
||||
|
||||
mkdir -p "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
bed2c48abfac7cc9bc16fb16cd3ae3a7048121d2867b961458f0d3a9520e16598c8115a7b00808bded64904956aea445fa31a3106c52bab87cfba3420be309b8 fbkeyboard.init
|
||||
"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
postmarketos-ui-fbkeyboard-openrc.post-install
|
|
@ -1 +0,0 @@
|
|||
postmarketos-ui-fbkeyboard.post-install
|
Loading…
Reference in a new issue