#Packager: George Vlahavas <vlahavas~AT~gmail~DOT~com>

pkgname=mate-common
pkgver=1.2.1
pkgrel=1gv
arch=noarch
source=("http://pub.mate-desktop.org/releases/1.2/mate-common-1.2.1.tar.xz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
options=('noautodotnew')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"mate-common (common scripts and macros to develop with MATE)"
"mate-common is an extension to autoconf, automake and libtool for the"
"MATE environment and MATE using applications."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./autogen.sh
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg
}