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

pkgname=mate-notification-daemon
pkgver=1.26.1
_majorver=`echo $pkgver | cut -d'.' -f1,2`
pkgrel=1dj
source=("http://pub.mate-desktop.org/releases/$_majorver/mate-notification-daemon-$pkgver.tar.xz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")

doinst() {
# compile schemas
if [ -x /usr/bin/glib-compile-schemas ]; then
	/usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas > /dev/null 2>&1
fi
}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"mate-notification-daemon (a notification daemon for MATE)"
"The MATE notification deamon is an application that will allow"
"displaying of notification popups in the MATE desktop environment."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure	--prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--disable-static \
		--disable-schemas-compile \
		--with-gtk=3.0 \
		--build=$arch-slackware-linux
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg
} 
