#Maintainer: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=zzz-settings-mate
pkgver=13.37
pkgrel=1gv
arch=noarch
options=('noextract')

doinst() {
if [ -f etc/gdm/custom.conf ]; then
	sed -i "s/\[daemon\]/[daemon]\n\nDefaultSession=mate.desktop/" etc/gdm/custom.conf
fi
}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"zzz-settings-mate (provides system wide fixes for MATE)"
"This package provides fixes for some packages and default settings for"
"others. It can safely be removed after installation, but it should"
"never be installed or upgraded by the user, or it might change some"
"default system settings."
)


build() {
	chown -R root:root $startdir/pkg
}