# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4
pkgver=4.18
pkgrel=0
pkgdesc="XFCE 4 meta package"
url="https://xfce.org"
arch="noarch"
license="GPL"
# https://mail.xfce.org/pipermail/xfce-announce/2019-May/000701.html
depends="
	exo>=$pkgver
	font-dejavu
	garcon>=0.8
	libxfce4ui>=$pkgver
	libxfce4util>=$pkgver
	thunar>=$pkgver
	thunar-volman>=$pkgver
	tumbler>=$pkgver
	xfce4-appfinder>=$pkgver
	xfce4-panel>=$pkgver
	xfce4-power-manager>=$pkgver
	xfce4-session>=$pkgver
	xfce4-settings>=$pkgver
	xfconf>=$pkgver
	xfdesktop>=$pkgver
	xfwm4>=$pkgver
	"

subpackages="$pkgname-skel"
source="xsettings.xml xfwm4.xml"

package() {
	mkdir -p "$pkgdir"
}

skel() {
	pkgdesc="Alpine Linux default xfce config"
	mkdir -p "$subpkgdir"/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml
	install "$srcdir"/xfwm4.xml "$srcdir"/xsettings.xml \
		"$subpkgdir"/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/

}

sha512sums="729bff482e9c1ae91140381e07461decaf878af7d8373ee110cdabe11f6832f1489fe2b70bb3e623a38addb4ecda8e4bfc2b462a41fc0b8b146077ddd403ff14  xsettings.xml
3a7b018c211842e8c0ed43383188a431ee719a8b78d913138fbf92ae146e2b61def0721154a7077670d8b560b1e683b941e4a76a45b6bc70fda3132c13ce827d  xfwm4.xml"
