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

pkgname=libgnomeprint
pkgver=2.18.6
pkgrel=1gv
arch=i486
source=(http://ftp.gnome.org/pub/GNOME/sources/libgnomeprint/2.18/libgnomeprint-2.18.6.tar.bz2)
docs=("readme" "install" "copying*" "changelog*" "authors" "news" "todo" "bugs" "maintainers")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libgnomeprint - GNOME printing libraries"
"libgnomeprint is the non-GUI part of the printing libraries for the"
"GNOME applications."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static --disable-gtk-doc
	make || return 1
	make install DESTDIR=$startdir/pkg
	rm -rf $startdir/pkg/usr/share/gtk-doc
}