summaryrefslogtreecommitdiff
path: root/staging/gtksourceview2
diff options
context:
space:
mode:
Diffstat (limited to 'staging/gtksourceview2')
-rw-r--r--staging/gtksourceview2/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/staging/gtksourceview2/PKGBUILD b/staging/gtksourceview2/PKGBUILD
new file mode 100644
index 000000000..6f0777cb6
--- /dev/null
+++ b/staging/gtksourceview2/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 147186 2012-01-24 03:16:31Z eric $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=gtksourceview2
+pkgver=2.10.5
+pkgrel=2
+pkgdesc="A text widget adding syntax highlighting and more to GNOME"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('gtk2>=2.22.0' 'libxml2>=2.7.7')
+makedepends=('intltool' 'pkg-config')
+options=('!libtool')
+url="http://www.gnome.org"
+source=(http://ftp.gnome.org/pub/gnome/sources/gtksourceview/2.10/gtksourceview-${pkgver}.tar.bz2)
+sha256sums=('c585773743b1df8a04b1be7f7d90eecdf22681490d6810be54c81a7ae152191e')
+
+build() {
+ cd "${srcdir}/gtksourceview-${pkgver}"
+ sed -i 's#python#python2#' gtksourceview/language-specs/convert.py
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/gtksourceview-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}