main/postmarketos-ui-framebufferphone: add -openrc subpackage (MR 5374)
This commit is contained in:
parent
5f73dcac9a
commit
250b96f0fa
5 changed files with 14 additions and 5 deletions
|
@ -3,7 +3,7 @@
|
||||||
# Contributor: Miles Alan <m@milesalan.com>
|
# Contributor: Miles Alan <m@milesalan.com>
|
||||||
pkgname=postmarketos-ui-framebufferphone
|
pkgname=postmarketos-ui-framebufferphone
|
||||||
pkgver=1
|
pkgver=1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Minimalist framebuffer menu/keyboard UI accessible via touch/volume keys & compatible scripts"
|
pkgdesc="Minimalist framebuffer menu/keyboard UI accessible via touch/volume keys & compatible scripts"
|
||||||
url="http://sr.ht/~hamblingreen/framebufferphone"
|
url="http://sr.ht/~hamblingreen/framebufferphone"
|
||||||
arch="aarch64 x86_64" # Limited by fbp / zig in alpine support
|
arch="aarch64 x86_64" # Limited by fbp / zig in alpine support
|
||||||
|
@ -11,7 +11,7 @@ license="GPL-3.0-or-later"
|
||||||
depends="
|
depends="
|
||||||
postmarketos-base-ui
|
postmarketos-base-ui
|
||||||
fbp
|
fbp
|
||||||
"
|
"
|
||||||
_pmb_recommends="
|
_pmb_recommends="
|
||||||
f_scripts-f_audio
|
f_scripts-f_audio
|
||||||
f_scripts-f_files
|
f_scripts-f_files
|
||||||
|
@ -24,14 +24,23 @@ _pmb_recommends="
|
||||||
f_scripts-f_timer
|
f_scripts-f_timer
|
||||||
f_scripts-f_web
|
f_scripts-f_web
|
||||||
f_scripts-f_youtube
|
f_scripts-f_youtube
|
||||||
"
|
"
|
||||||
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
|
subpackages="$pkgname-openrc"
|
||||||
source="fbp.init"
|
source="fbp.init"
|
||||||
options="!check" # No tests
|
options="!check" # No tests
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm755 "$srcdir"/fbp.init "$pkgdir"/etc/init.d/fbp
|
install -Dm755 "$srcdir"/fbp.init "$pkgdir"/etc/init.d/fbp
|
||||||
}
|
}
|
||||||
|
|
||||||
|
openrc() {
|
||||||
|
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
||||||
|
install="$subpkgname.post-install $subpkgname.pre-deinstall $subpkgname.post-upgrade"
|
||||||
|
depends="fbp-openrc"
|
||||||
|
|
||||||
|
mkdir -p "$subpkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
e95d2daaa90b8f4cf4ba7da9e7330b59057505857b8688b4d60b7f2ddeec8d59308002ecd17083b1c6096a40dc496b996dba42ef21fff95619fe535280465372 fbp.init
|
e95d2daaa90b8f4cf4ba7da9e7330b59057505857b8688b4d60b7f2ddeec8d59308002ecd17083b1c6096a40dc496b996dba42ef21fff95619fe535280465372 fbp.init
|
||||||
"
|
"
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
postmarketos-ui-framebufferphone-openrc.post-install
|
|
@ -1 +0,0 @@
|
||||||
postmarketos-ui-framebufferphone.post-install
|
|
Loading…
Reference in a new issue