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

Ionut Biru ibiru at archlinux.org
Wed Oct 19 14:21:48 UTC 2011


    Date: Wednesday, October 19, 2011 @ 10:21:48
  Author: ibiru
Revision: 140802

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  anjuta/repos/testing-i686/
  anjuta/repos/testing-i686/PKGBUILD
    (from rev 140801, anjuta/trunk/PKGBUILD)
  anjuta/repos/testing-i686/anjuta.install
    (from rev 140801, anjuta/trunk/anjuta.install)
  anjuta/repos/testing-x86_64/
  anjuta/repos/testing-x86_64/PKGBUILD
    (from rev 140801, anjuta/trunk/PKGBUILD)
  anjuta/repos/testing-x86_64/anjuta.install
    (from rev 140801, anjuta/trunk/anjuta.install)

-------------------------------+
 testing-i686/PKGBUILD         |   33 +++++++++++++++++++++++++++++++++
 testing-i686/anjuta.install   |   21 +++++++++++++++++++++
 testing-x86_64/PKGBUILD       |   33 +++++++++++++++++++++++++++++++++
 testing-x86_64/anjuta.install |   21 +++++++++++++++++++++
 4 files changed, 108 insertions(+)

Copied: anjuta/repos/testing-i686/PKGBUILD (from rev 140801, anjuta/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2011-10-19 14:21:48 UTC (rev 140802)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Harley Laue <losinggeneration at yahoo.com>
+
+pkgname=anjuta
+pkgver=3.2.1
+pkgrel=1
+pkgdesc="GNOME Integrated Development Environment (IDE)"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('vte3' 'gdl' 'autogen' 'devhelp' 'glade' 'libgda' 'subversion' 'gnome-icon-theme' 'hicolor-icon-theme' 'vala' '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=('1e59aed63312e293c55f2934c4766411e9908fa512dd86e1422e3d906fe75613')
+
+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
+}

Copied: anjuta/repos/testing-i686/anjuta.install (from rev 140801, anjuta/trunk/anjuta.install)
===================================================================
--- testing-i686/anjuta.install	                        (rev 0)
+++ testing-i686/anjuta.install	2011-10-19 14:21:48 UTC (rev 140802)
@@ -0,0 +1,21 @@
+post_install() {
+  usr/bin/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
+}

Copied: anjuta/repos/testing-x86_64/PKGBUILD (from rev 140801, anjuta/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2011-10-19 14:21:48 UTC (rev 140802)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Harley Laue <losinggeneration at yahoo.com>
+
+pkgname=anjuta
+pkgver=3.2.1
+pkgrel=1
+pkgdesc="GNOME Integrated Development Environment (IDE)"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('vte3' 'gdl' 'autogen' 'devhelp' 'glade' 'libgda' 'subversion' 'gnome-icon-theme' 'hicolor-icon-theme' 'vala' '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=('1e59aed63312e293c55f2934c4766411e9908fa512dd86e1422e3d906fe75613')
+
+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
+}

Copied: anjuta/repos/testing-x86_64/anjuta.install (from rev 140801, anjuta/trunk/anjuta.install)
===================================================================
--- testing-x86_64/anjuta.install	                        (rev 0)
+++ testing-x86_64/anjuta.install	2011-10-19 14:21:48 UTC (rev 140802)
@@ -0,0 +1,21 @@
+post_install() {
+  usr/bin/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