summaryrefslogtreecommitdiff
path: root/extra/gtksourceview/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gtksourceview/PKGBUILD')
-rw-r--r--extra/gtksourceview/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/gtksourceview/PKGBUILD b/extra/gtksourceview/PKGBUILD
new file mode 100644
index 000000000..cd93c5bbc
--- /dev/null
+++ b/extra/gtksourceview/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 57064 2009-10-31 11:55:39Z allan $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=gtksourceview
+pkgver=1.8.5
+pkgrel=3
+pkgdesc="A text widget adding syntax highlighting and more to GNOME"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('libgnomeprint' 'gtk2')
+makedepends=('perlxml' 'libgnomeprintui' 'pkgconfig')
+options=('!libtool')
+url="http://www.gnome.org"
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.8/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('de67df2944c1cccbc2d0b4a738e11050')
+
+build() {
+ export CFLAGS="$CFLAGS -D_GNU_SOURCE"
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static
+ make || return 1
+ make DESTDIR=${pkgdir} install
+}