# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=lxqt-desktop
pkgver=0.13.0
pkgrel=1
arch="noarch"
pkgdesc="Complete LXQt desktop"
url="https://lxqt.org"
license="NCSA"
options="!check" # meta package, no tests needed.
depends="breeze breeze-icons oxygen ttf-liberation xorg-server dbus-x11 openbox
	lxqt-panel lxqt-runner lxqt-qtplugin qterminal pcmanfm-qt lxqt-sudo
	lxqt-session lxqt-powermanagement lxqt-policykit lxqt-openssh-askpass
	lxqt-notificationd lxqt-globalkeys lxqt-config lxqt-admin lxqt-about
	lximage-qt lxqt-themes pavucontrol-qt qt5ct obconf-qt qps screengrab"
makedepends=""
install=""
subpackages="$pkgname-doc"
source="org.adelie-linux.about-lxqt.desktop startlxqt startlxqt.1"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$srcdir"
}

package() {
	cd "$srcdir"
	install -D -m644 "$srcdir"/org.adelie-linux.about-lxqt.desktop \
		"$pkgdir"/usr/share/applications/org.adelie-linux.about-lxqt.desktop
	install -D -m755 "$srcdir"/startlxqt "$pkgdir"/usr/bin/startlxqt
	install -D -m644 "$srcdir"/startlxqt.1 "$pkgdir"/usr/share/man/man1/startlxqt.1
}
sha512sums="e954a41cad44cad7ef3a7695c28396540556ee7bc374ee00f95c4117988d84f6989de7a030ddf11e426b895577e392100f8c5696f0cc3fdc03c2500498580af0  org.adelie-linux.about-lxqt.desktop
682ed40cfaf88af1c53839bab3b7de3feaeda037a52852b3761485f4008b311e5706e5498f2874d383b0f79d555f7239629ad25f050ae05089ec6e939b43ce56  startlxqt
4a56f5bd9364cac0cb32dd119ff209452249efff9de3be20297c1db6524dd1ef24ed7249f22a738a82dab4e61481e11dcceaf9e9474620fa1ca0b1616aa7dfe7  startlxqt.1"