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

pkgname=gtksourceview
pkgver=2.10.5
pkgrel=2gv
source=("http://ftp.gnome.org/pub/gnome/sources/gtksourceview/2.10/gtksourceview-2.10.5.tar.bz2")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers" "hacking")
url=http://projects.gnome.org/gtksourceview

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"gtksourceview (syntax highlighting library for GTK+)"
"GtkSourceView is a portable C library that extends the standard GTK+"
"framework for multiline text editing with support for configurable"
"syntax highlighting, unlimited undo/redo, UTF-8 compliant caseless"
"searching, printing and other features typical of a source code"
"editor."
)


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