# Maintainer: Jesus E. pkgname=gtksourceview2 pkgver=2.10.5 pkgrel=1 pkgdesc="A text widget that extends the standard GTK+ 2.x" arch=('i686' 'x86_64') url="https://download.gnome.org/sources/gtksourceview" license=('GPL-2') depends=('gtk2' 'libxml2') makedepends=('intltool' 'gettext-tiny' 'python') source=("https://download.gnome.org/sources/gtksourceview/2.10/gtksourceview-$pkgver.tar.gz") sha512sums=('cd8d233a8c0c5bff825a1eeb60e322928256086ca6ed99b872d9f2ca2c2513b11a75ad794189522526e27853517c9f780d410acb661827b166e92054ddd3908f') build() { cd "gtksourceview-$pkgver/" ./configure --prefix=/usr make } package() { cd "gtksourceview-$pkgver" make DESTDIR="$pkgdir/" install install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/$pkgname }