1 # Maintainer: Jan de Groot <jgc@archlinux.org>
6 pkgdesc="A text widget adding syntax highlighting and more to GNOME"
9 depends=('gtk2' 'libxml2')
10 makedepends=('intltool' 'pkg-config' 'python')
11 url="http://www.gnome.org"
12 source=(https://download.gnome.org/sources/gtksourceview/2.10/gtksourceview-${pkgver}.tar.bz2)
13 sha256sums=('c585773743b1df8a04b1be7f7d90eecdf22681490d6810be54c81a7ae152191e')
16 cd "${srcdir}/gtksourceview-${pkgver}"
17 sed -i 's#python#python2#' gtksourceview/language-specs/convert.py
21 cd "${srcdir}/gtksourceview-${pkgver}"
22 ./configure --prefix=/usr --sysconfdir=/etc \
23 --localstatedir=/var --disable-static
25 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
31 cd "${srcdir}/gtksourceview-${pkgver}"
32 make DESTDIR="${pkgdir}" install