# Depends on: gtk2 libxml2

description="Libraries used for extending the GTK+ 2 text functions to include syntax highlighting."
url="http://www.gnome.org/"
packager="tnut <tnut@nutyx.org>"
contributors="Pierre B"

name=gtksourceview2
version=2.10.5
release=3

source=(http://ftp.gnome.org/pub/gnome/sources/gtksourceview/2.10/gtksourceview-${version}.tar.bz2)

build() {
cd gtksourceview-$version
sed -i 's#python#python2#' gtksourceview/language-specs/convert.py
  ./configure --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var --disable-static
make
make DESTDIR=$PKG install

# Obsolet lib
rm $PKG/usr/lib/libgtksourceview-2.0.la
}
