#Packager: Richard Lapointe <richar@laprjns.com>
#Former Packager(s): Name <email@address.com>
#Anything commented is optional and can be deleted

pkgname=pygtksourceview
pkgver=2.10.1	
pkgrel=2rl
#arch=noarch
source=(ftp://ftp.gnome.org/pub/gnome/sources/$pkgname/2.10/$pkgname-$pkgver.tar.bz2)
sourcetemplate=http://people.salixos.org/laprjns/$pkgname/$pkgver/
docs=("authors" "install" "readme" "copying")
url=http://projects.gnome.org/gtksourceview/pygtksourceview.html
#dotnew=()
#CFLAGS=
#CXXFLAGS=
#options=('noextract')

#doinst() {
#
#}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"PyGtkSourceView  (a Python wrapper for the GtkSourceView)"
"PyGtkSourceView is a Python wrapper for the GtkSourceView widget"
"library. It offers all the power of GtkSourceView with an interface"
"familiar to Python developers, including users of the PyGTK library."
"PyGtkSourceView wraps all relevant parts of the GtkSourceView library"
"and is used by the gedit editor for its Python-based plugins."
)

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