diff --git a/main/postmarketos-ui-bananui/APKBUILD b/main/postmarketos-ui-bananui/APKBUILD index 4402df63e..616cfcdb1 100644 --- a/main/postmarketos-ui-bananui/APKBUILD +++ b/main/postmarketos-ui-bananui/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Affe Null pkgname=postmarketos-ui-bananui pkgver=1 -pkgrel=1 +pkgrel=2 pkgdesc="(Wayland) Keypad controlled UI for feature phones" url="https://git.abscue.de/obp/bananui" arch="noarch" @@ -33,10 +33,22 @@ _pmb_groups=" seat wroomd " -install="$pkgname.post-install $pkgname.post-upgrade" +subpackages="$pkgname-openrc" options="!check" package() { mkdir -p "$pkgdir" } +openrc() { + install_if="$pkgname=$pkgver-r$pkgrel openrc" + install="$subpkgname.post-install $subpkgname.post-upgrade" + depends=" + networkmanager-openrc + seatd-dev + tinydm-openrc + wroomd-dev + " + + mkdir -p "$subpkgdir" +} diff --git a/main/postmarketos-ui-bananui/postmarketos-ui-bananui.post-install b/main/postmarketos-ui-bananui/postmarketos-ui-bananui-openrc.post-install similarity index 100% rename from main/postmarketos-ui-bananui/postmarketos-ui-bananui.post-install rename to main/postmarketos-ui-bananui/postmarketos-ui-bananui-openrc.post-install diff --git a/main/postmarketos-ui-bananui/postmarketos-ui-bananui-openrc.post-upgrade b/main/postmarketos-ui-bananui/postmarketos-ui-bananui-openrc.post-upgrade new file mode 120000 index 000000000..6d4ea2fa1 --- /dev/null +++ b/main/postmarketos-ui-bananui/postmarketos-ui-bananui-openrc.post-upgrade @@ -0,0 +1 @@ +postmarketos-ui-bananui-openrc.post-install \ No newline at end of file diff --git a/main/postmarketos-ui-bananui/postmarketos-ui-bananui.post-upgrade b/main/postmarketos-ui-bananui/postmarketos-ui-bananui.post-upgrade deleted file mode 120000 index 351882eaf..000000000 --- a/main/postmarketos-ui-bananui/postmarketos-ui-bananui.post-upgrade +++ /dev/null @@ -1 +0,0 @@ -postmarketos-ui-bananui.post-install \ No newline at end of file