# Maintainer: Natanael Copa pkgname=gtksourceview pkgver=2.10.4 pkgrel=6 pkgdesc="A text widget adding syntax highlighting and more to GNOME" url="http://live.gnome.org/GtkSourceView" arch="all" license="GPL" depends= depends_dev="gtk+2.0-dev libxml2-dev" makedepends="$depends_dev gobject-introspection-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="http://ftp.gnome.org/pub/gnome/sources/gtksourceview/${pkgver%.*}/gtksourceview-$pkgver.tar.bz2" _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$_builddir" update_config_sub || return 1 } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="342666cba9eb2643e5166a0cb58203d2 gtksourceview-2.10.4.tar.bz2"