# $Id: PKGBUILD 127476 2011-06-15 14:46:47Z ibiru $ # Maintainer: Andreas Radke # Contributor: Harley Laue pkgname=anjuta pkgver=3.0.3.0 pkgrel=1 pkgdesc="GNOME Integrated Development Environment (IDE)" arch=('i686' 'x86_64' 'mips64el') license=('GPL') depends=('vte3' 'gdl' 'autogen' 'devhelp' 'gtksourceview3' 'glade' 'libgda' 'subversion' 'gnome-icon-theme' 'hicolor-icon-theme' 'vala' 'graphviz' 'python2' 'shared-mime-info' 'desktop-file-utils') 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=('1615e7a86602fd4d775e8a7d4701260a80caeb8758559197574ccb27a3339368') build() { cd "${srcdir}/anjuta-${pkgver}" PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-scrollkeeper make } package(){ cd "${srcdir}/anjuta-${pkgver}" make DESTDIR="${pkgdir}" install sed -i "1s|#!/usr/bin/python$|&2|" \ $pkgdir/usr/share/anjuta/project/{pygtk,python}/src/main.py }