summaryrefslogblamecommitdiff
path: root/user/livecd-support/APKBUILD
blob: 981f30adbf77931c5d81245b1a71b35c22f2f88e (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                      
                                                                       










                                                                   























                                                                          




















                                                                                                                                                           
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=livecd-support
pkgver=1.0
pkgrel=0
pkgdesc="Support files for booting Adélie live media"
url="https://www.adelielinux.org/"
arch="noarch"
options="!check"  # Metapackage
license="NCSA"
subpackages="$pkgname-kde $pkgname-lxqt $pkgname-mate $pkgname-horizon"
depends=""
install="livecd-support.post-install livecd-support.post-deinstall"
source="kde.sddm.conf
	lxqt.sddm.conf
	mate.sddm.conf
	"

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"
	install -D -m644 "$srcdir"/kde.sddm.conf "$subpkgdir"/etc/sddm.conf.d/kde.conf
}

lxqt() {
	pkgdesc="$pkgdesc (LXQt spin)"
	depends="livecd-support lxqt-desktop sddm x11"
	install -D -m644 "$srcdir"/lxqt.sddm.conf "$subpkgdir"/etc/sddm.conf.d/lxqt.conf
}

mate() {
	pkgdesc="$pkgdesc (MATE spin)"
	depends="livecd-support mate-complete sddm x11"
	install -D -m644 "$srcdir"/mate.sddm.conf "$subpkgdir"/etc/sddm.conf.d/mate.conf
}

sha512sums="eddcc68917b4dc376bb9b7e7ed5e2c06379957c787c7152e654f31adb402f5811463bff69ce2a41a2cb87b0fa83a4aa3718b63d830eb9ee46b7d0d2058663d34  kde.sddm.conf
9a9a61035c0a8c5ee84d235f319ca158216056221d03a0f5a3846982cb6110c569d7b4eadd2e24de66a75a428c18850e0393e20412e0edcfc8ad41c9d4783604  lxqt.sddm.conf
603d2a5b1fdad0cb0abfefa8a4019c690ee4f5f9ac45057eeeac3bac3207e7871bdb32a564791fb99d965959b39a7de979d575db2694c2d1d88a4a16b68adb25  mate.sddm.conf"