summaryrefslogtreecommitdiff
path: root/gnome-unstable/anjuta/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-01 00:01:56 +0000
committerroot <root@rshg054.dnsready.net>2012-04-01 00:01:56 +0000
commit939efb693a8b362edc0c6ccba62c5ce54fb501af (patch)
tree0aac5505f763d7331e27a11c0f843b9c6623195a /gnome-unstable/anjuta/PKGBUILD
parent977b78df305a06797773799a7295f2a5f3f013cf (diff)
Sun Apr 1 00:01:56 UTC 2012
Diffstat (limited to 'gnome-unstable/anjuta/PKGBUILD')
-rw-r--r--gnome-unstable/anjuta/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnome-unstable/anjuta/PKGBUILD b/gnome-unstable/anjuta/PKGBUILD
new file mode 100644
index 000000000..843e84d19
--- /dev/null
+++ b/gnome-unstable/anjuta/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 154802 2012-03-30 18:31:04Z heftig $
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+# Contributor: Harley Laue <losinggeneration@yahoo.com>
+
+pkgname=anjuta
+pkgver=3.4.0
+pkgrel=2
+pkgdesc="GNOME Integrated Development Environment (IDE)"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('vte3' 'gdl' 'autogen' 'devhelp' 'glade' 'libgda' 'subversion' 'gnome-icon-theme' 'vala' 'dconf')
+makedepends=('gnome-doc-utils' 'intltool' 'gobject-introspection')
+url="http://anjuta.sourceforge.net/"
+install=anjuta.install
+source=(ftp://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+options=('!libtool' '!emptydirs')
+sha256sums=('c8175e04e797dc0e2aaede4ae73ee9cd7f37d3e59b158961703db546d4660abf')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-scrollkeeper
+ make
+}
+
+package(){
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # j1: Race during linking
+ make -j1 DESTDIR="$pkgdir" install
+
+ sed -i "1s|#!/usr/bin/python$|&2|" \
+ $pkgdir/usr/share/anjuta/project/{pygtk,python}/src/main.py
+}