pmaports/main/postmarketos-ui-framebufferphone/APKBUILD
Oliver Smith 13c26558de
main/postmarketos-ui-framebufferphone: fix openrc subpkg (MR 5386)
Don't depend on fbp-openrc, as this package does not exist.

Fixes: 250b96f ("main/postmarketos-ui-framebufferphone: add -openrc subpackage (MR 5374)")

[ci:skip-build] already built successfully in CI
2024-07-25 14:29:14 -07:00

45 lines
1.2 KiB
Text

# Reference: https://postmarketos.org/uipkg
# Maintainer: Bobby Hamblin <hamblingreen@hotmail.com>
# Contributor: Miles Alan <m@milesalan.com>
pkgname=postmarketos-ui-framebufferphone
pkgver=1
pkgrel=3
pkgdesc="Minimalist framebuffer menu/keyboard UI accessible via touch/volume keys & compatible scripts"
url="http://sr.ht/~hamblingreen/framebufferphone"
arch="aarch64 x86_64" # Limited by fbp / zig in alpine support
license="GPL-3.0-or-later"
depends="
postmarketos-base-ui
fbp
"
_pmb_recommends="
f_scripts-f_audio
f_scripts-f_files
f_scripts-f_game
f_scripts-f_maps
f_scripts-f_networks
f_scripts-f_phone
f_scripts-f_rss
f_scripts-f_theme
f_scripts-f_timer
f_scripts-f_web
f_scripts-f_youtube
"
subpackages="$pkgname-openrc"
source="fbp.init"
options="!check" # No tests
package() {
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"
mkdir -p "$subpkgdir"
}
sha512sums="
e95d2daaa90b8f4cf4ba7da9e7330b59057505857b8688b4d60b7f2ddeec8d59308002ecd17083b1c6096a40dc496b996dba42ef21fff95619fe535280465372 fbp.init
"