diff --git a/main/postmarketos-ui-asteroid/APKBUILD b/main/postmarketos-ui-asteroid/APKBUILD index 8071cecd8..be6045bab 100644 --- a/main/postmarketos-ui-asteroid/APKBUILD +++ b/main/postmarketos-ui-asteroid/APKBUILD @@ -1,7 +1,7 @@ # Reference: https://postmarketos.org/uipkg # Maintainer: Bart Ribbers pkgname=postmarketos-ui-asteroid -pkgver=0.2 +pkgver=1 pkgrel=0 pkgdesc="(Wayland) Smartwatch UI from AsteroidOS" url="https://wiki.postmarketos.org/wiki/AsteroidOS" @@ -15,10 +15,8 @@ depends=" # Required to launch depends="$depends elogind - elogind-openrc postmarketos-base-ui tinydm - tinydm-openrc " _pmb_recommends=" asteroid-alarmclock @@ -35,7 +33,7 @@ _pmb_recommends=" asteroid-weather " _pmb_groups="users" -install="$pkgname.post-install $pkgname.post-upgrade" +subpackages="$pkgname-openrc" source=" asteroid.desktop asteroid-launcher-wrapper.sh @@ -49,6 +47,22 @@ package() { install -Dm755 "$srcdir"/gtk-app-wayland.sh -t "$pkgdir"/etc/profile.d/ } +openrc() { + install_if="$pkgname=$pkgver-r$pkgrel openrc" + install="$subpkgname.post-install $subpkgname.post-upgrade" + depends=" + bluez-openrc + connman-openrc + dsme-openrc + elogind-openrc + mce-openrc + tinydm-openrc + usb-moded-openrc + " + + mkdir -p "$subpkgdir" +} + sha512sums=" 6dab13e0fb128cce487554871ce4786334b46e0f8f0ffbef0a222607e04f5b49660872ea59b322790e4e35f9b7a53040233823308ba280a8b21c86a412405ec0 asteroid.desktop d6895807af865d89982c65cfda6616a55dfdaca3979ef045188489359462a87c0ffc51afc6779ba2aede614c13787a7499d6e7543c8a27e3210758b87b08f876 asteroid-launcher-wrapper.sh diff --git a/main/postmarketos-ui-asteroid/postmarketos-ui-asteroid.post-install b/main/postmarketos-ui-asteroid/postmarketos-ui-asteroid-openrc.post-install similarity index 100% rename from main/postmarketos-ui-asteroid/postmarketos-ui-asteroid.post-install rename to main/postmarketos-ui-asteroid/postmarketos-ui-asteroid-openrc.post-install diff --git a/main/postmarketos-ui-asteroid/postmarketos-ui-asteroid-openrc.post-upgrade b/main/postmarketos-ui-asteroid/postmarketos-ui-asteroid-openrc.post-upgrade new file mode 120000 index 000000000..793d2e137 --- /dev/null +++ b/main/postmarketos-ui-asteroid/postmarketos-ui-asteroid-openrc.post-upgrade @@ -0,0 +1 @@ +postmarketos-ui-asteroid-openrc.post-install \ No newline at end of file diff --git a/main/postmarketos-ui-asteroid/postmarketos-ui-asteroid.post-upgrade b/main/postmarketos-ui-asteroid/postmarketos-ui-asteroid.post-upgrade deleted file mode 120000 index aa6a720a7..000000000 --- a/main/postmarketos-ui-asteroid/postmarketos-ui-asteroid.post-upgrade +++ /dev/null @@ -1 +0,0 @@ -postmarketos-ui-asteroid.post-install \ No newline at end of file