diff --git a/main/postmarketos-ui-xfce4/APKBUILD b/main/postmarketos-ui-xfce4/APKBUILD index d2715084b..3a0e74d23 100644 --- a/main/postmarketos-ui-xfce4/APKBUILD +++ b/main/postmarketos-ui-xfce4/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Jakko pkgname=postmarketos-ui-xfce4 pkgver=0.5.2 -pkgrel=2 +pkgrel=3 pkgdesc="(X11) Lightweight desktop (stylus recommended)" url="https://gitlab.com/postmarketOS/xfce4-phone" arch="noarch" @@ -11,9 +11,7 @@ depends=" bluez dnsmasq elogind - elogind-openrc lightdm - lightdm-openrc mesa-egl polkit-elogind postmarketos-base-ui @@ -39,7 +37,7 @@ _pmb_recommends=" xfce4-terminal xfce4-whiskermenu-plugin " -install="$pkgname.post-install $pkgname.post-upgrade" +subpackages="$pkgname-openrc" source=" xfce4-phone-$pkgver.tar.gz::https://gitlab.com/postmarketOS/xfce4-phone/-/archive/$pkgver/xfce4-phone-$pkgver.tar.gz 10_onboard.gschema.override @@ -78,6 +76,19 @@ package() { "$pkgdir"/etc/profile.d/xfce4-phone.sh } +openrc() { + install_if="$pkgname=$pkgver-r$pkgrel openrc" + install="$subpkgname.post-install $subpkgname.post-upgrade" + depends=" + bluez-openrc + elogind-openrc + lightdm-openrc + networkmanager-openrc + " + + mkdir -p "$subpkgdir" +} + sha512sums=" a30b34fb87150810a291faa71726822942fc2b49e418fe3011445f7921b54bdf645e52ff61f31f61fbe799f221931f1d1a17f04b7378c2d72f4eb1795e5d78b7 xfce4-phone-0.5.2.tar.gz 114d77e6e7c11fc87244fc7c179244274c8f8711f111fcb1b9774ef6b226bd2bea01f85395da130f53670a870cfe571babd7f1c233ba85e1ef5a056ab65bd0b7 10_onboard.gschema.override diff --git a/main/postmarketos-ui-xfce4/postmarketos-ui-xfce4.post-install b/main/postmarketos-ui-xfce4/postmarketos-ui-xfce4-openrc.post-install similarity index 100% rename from main/postmarketos-ui-xfce4/postmarketos-ui-xfce4.post-install rename to main/postmarketos-ui-xfce4/postmarketos-ui-xfce4-openrc.post-install diff --git a/main/postmarketos-ui-xfce4/postmarketos-ui-xfce4-openrc.post-upgrade b/main/postmarketos-ui-xfce4/postmarketos-ui-xfce4-openrc.post-upgrade new file mode 120000 index 000000000..e5adde561 --- /dev/null +++ b/main/postmarketos-ui-xfce4/postmarketos-ui-xfce4-openrc.post-upgrade @@ -0,0 +1 @@ +postmarketos-ui-xfce4-openrc.post-install \ No newline at end of file diff --git a/main/postmarketos-ui-xfce4/postmarketos-ui-xfce4.post-upgrade b/main/postmarketos-ui-xfce4/postmarketos-ui-xfce4.post-upgrade deleted file mode 120000 index a52dea4b9..000000000 --- a/main/postmarketos-ui-xfce4/postmarketos-ui-xfce4.post-upgrade +++ /dev/null @@ -1 +0,0 @@ -postmarketos-ui-xfce4.post-install \ No newline at end of file