1 # Maintainer: Matias De la Puente <mfpuente.ar@gmail.com>
2 pkgname=mingw32-gtksourceview2
5 pkgdesc="A text widget adding syntax highlighting and more to GNOME"
7 url="http://www.gnome.org"
9 depends=(mingw32-gtk2 mingw32-libxml2)
10 makedepends=(mingw32-gcc)
12 source=(ftp://ftp.gnome.org/pub/gnome/sources/gtksourceview/2.10/gtksourceview-$pkgver.tar.bz2)
13 sha256sums=('c585773743b1df8a04b1be7f7d90eecdf22681490d6810be54c81a7ae152191e')
16 cd "$srcdir/gtksourceview-$pkgver"
18 export PKG_CONFIG_LIBDIR=/usr/i486-mingw32/lib/pkgconfig
23 --prefix=/usr/i486-mingw32 \
31 cd "$srcdir/gtksourceview-$pkgver"
33 make DESTDIR="$pkgdir/" install
36 find . -name '*.a' -o -name '*.dll' -o -name '*.exe' \
37 | xargs -rtl1 i486-mingw32-strip -g
38 rm -rf usr/i486-mingw32/share/gtk-doc