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

pkgname=mozo
pkgver=1.16.0
_majorver=`echo $pkgver | sed "s/\(.*\)\.\(.*\)/\1/"`
pkgrel=1gv
source=("http://pub.mate-desktop.org/releases/${_majorver}/mozo-${pkgver}.tar.xz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"mozo (Easy MATE menu editing tool)"
"Mozo (mate-menu-editor) is an easy-to-use menu editor for MATE that"
"can add and edit new entries and menus. It works with the"
"freedesktop.org menu specification and should work with any desktop"
"environment that uses the spec."
)


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