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"

makedepends=(gtk2 libxml2)

name=gtksourceview2
version=2.10.5
release=6

source=(https://download.gnome.org/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
}
