diff --git a/main/postmarketos-ui-bananui/APKBUILD b/main/postmarketos-ui-bananui/APKBUILD new file mode 100644 index 000000000..d5298b182 --- /dev/null +++ b/main/postmarketos-ui-bananui/APKBUILD @@ -0,0 +1,43 @@ +# Reference: https://postmarketos.org/uipkg +# Maintainer: Affe Null +pkgname=postmarketos-ui-bananui +pkgver=1 +pkgrel=0 +pkgdesc="(Wayland) Keypad controlled UI for feature phones" +url="https://git.abscue.de/obp/bananui" +arch="noarch" +license="GPL-3.0-or-later" +depends=" + bananui-clock + bananui-shell + dnsmasq + pam-rundir + postmarketos-base-ui + postmarketos-base-ui-networkmanager + pulseaudio + seatd + seatd-openrc + tinydm + tinydm-openrc + wroomd + wroomd-openrc + xdg-user-dirs + xwayland + " +_pmb_recommends=" + bananui-demos + foot + " +_pmb_groups=" + feedbackd + rtc + seat + wroomd + " +install="$pkgname.post-install $pkgname.post-upgrade" +options="!check" + +package() { + mkdir -p "$pkgdir" +} + diff --git a/main/postmarketos-ui-bananui/postmarketos-ui-bananui.post-install b/main/postmarketos-ui-bananui/postmarketos-ui-bananui.post-install new file mode 100644 index 000000000..99775d3b4 --- /dev/null +++ b/main/postmarketos-ui-bananui/postmarketos-ui-bananui.post-install @@ -0,0 +1,9 @@ +#!/bin/sh + +rc-update add networkmanager default +rc-update add seatd default +rc-update add tinydm default +rc-update add wroomd default +tinydm-set-session -s /usr/share/wayland-sessions/bananui.desktop + +exit 0 diff --git a/main/postmarketos-ui-bananui/postmarketos-ui-bananui.post-upgrade b/main/postmarketos-ui-bananui/postmarketos-ui-bananui.post-upgrade new file mode 120000 index 000000000..351882eaf --- /dev/null +++ b/main/postmarketos-ui-bananui/postmarketos-ui-bananui.post-upgrade @@ -0,0 +1 @@ +postmarketos-ui-bananui.post-install \ No newline at end of file