[arch-commits] Commit in anjuta/repos (4 files)

Jan Steffens heftig at archlinux.org
Sun Apr 1 07:30:31 EDT 2012


    Date: Sunday, April 1, 2012 @ 07:30:31
  Author: heftig
Revision: 155007

db-move: moved anjuta from [gnome-unstable] to [testing] (x86_64)

Added:
  anjuta/repos/testing-x86_64/
  anjuta/repos/testing-x86_64/PKGBUILD
    (from rev 155005, anjuta/repos/gnome-unstable-x86_64/PKGBUILD)
  anjuta/repos/testing-x86_64/anjuta.install
    (from rev 155005, anjuta/repos/gnome-unstable-x86_64/anjuta.install)
Deleted:
  anjuta/repos/gnome-unstable-x86_64/

----------------+
 PKGBUILD       |   34 ++++++++++++++++++++++++++++++++++
 anjuta.install |   21 +++++++++++++++++++++
 2 files changed, 55 insertions(+)

Copied: anjuta/repos/testing-x86_64/PKGBUILD (from rev 155005, anjuta/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-04-01 11:30:31 UTC (rev 155007)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Harley Laue <losinggeneration at 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
+}

Copied: anjuta/repos/testing-x86_64/anjuta.install (from rev 155005, anjuta/repos/gnome-unstable-x86_64/anjuta.install)
===================================================================
--- testing-x86_64/anjuta.install	                        (rev 0)
+++ testing-x86_64/anjuta.install	2012-04-01 11:30:31 UTC (rev 155007)
@@ -0,0 +1,21 @@
+post_install() {
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+  gtk-update-icon-cache -q -t -f /usr/share/icons/gnome
+  update-mime-database /usr/share/mime > /dev/null
+}
+
+pre_upgrade() {
+  if (( $(vercmp $2 2.90.0) < 0 )); then
+    usr/sbin/gconfpkg --uninstall anjuta
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list