# $Id: PKGBUILD 154574 2012-03-30 09:54:38Z heftig $ # Maintainer: Ionut Biru pkgname=gtksourceview3 _pkgbasename=gtksourceview pkgver=3.4.0 pkgrel=1 pkgdesc="A text widget adding syntax highlighting and more to GNOME" arch=('i686' 'x86_64') license=('GPL') depends=('gtk3' 'libxml2') makedepends=('intltool' 'gobject-introspection' 'glade') options=('!libtool') url="http://www.gnome.org" source=(http://ftp.gnome.org/pub/gnome/sources/$_pkgbasename/${pkgver%.*}/$_pkgbasename-$pkgver.tar.xz) sha256sums=('a380b0aaace095568a5b485dd479b61f61f77941d0c02a00246ad4dfe956b655') build() { cd "$_pkgbasename-$pkgver" ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static \ --enable-glade-catalog make } package() { cd "$_pkgbasename-$pkgver" make DESTDIR="$pkgdir" install }