diff options
-rw-r--r-- | user/livecd-support/APKBUILD | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/user/livecd-support/APKBUILD b/user/livecd-support/APKBUILD index 2a5e2a901..981f30adb 100644 --- a/user/livecd-support/APKBUILD +++ b/user/livecd-support/APKBUILD @@ -8,7 +8,7 @@ url="https://www.adelielinux.org/" arch="noarch" options="!check" # Metapackage license="NCSA" -subpackages="$pkgname-kde $pkgname-lxqt $pkgname-mate" +subpackages="$pkgname-kde $pkgname-lxqt $pkgname-mate $pkgname-horizon" depends="" install="livecd-support.post-install livecd-support.post-deinstall" source="kde.sddm.conf @@ -20,6 +20,30 @@ package() { mkdir -p $pkgdir } +horizon() { + pkgdesc="Add the ability to install Adélie from live media" + depends="horizon-qt5 horizon netsurf partitionmanager xterm" + + mkdir -p "$subpkgdir"/etc/profile.d + cat >"$subpkgdir"/etc/profile.d/horizon-qt5.sh <<PROFILE +#!/bin/sh +export QT_QUICK_BACKEND=software +PROFILE + + mkdir -p "$subpkgdir"/usr/share/applications + cat >"$subpkgdir"/usr/share/applications/horizon.desktop <<DESKTOP +[Desktop Entry] +Type=Application +Version=1.1 +Name=System Installation +Comment=Install Adélie Linux to your computer +Icon=system-software-install +Exec=/usr/bin/horizon-qt5 +Categories=System; +DESKTOP +} + + kde() { pkgdesc="$pkgdesc (KDE spin)" depends="livecd-support adelie-kde-theme kde sddm x11" |