[arch-commits] Commit in eric/repos (5 files)
Ray Rashif
schiv at nymeria.archlinux.org
Tue Mar 18 16:35:21 UTC 2014
Date: Tuesday, March 18, 2014 @ 17:35:21
Author: schiv
Revision: 208198
archrelease: copy trunk to staging-any
Added:
eric/repos/staging-any/
eric/repos/staging-any/.contrib
(from rev 208197, eric/trunk/.contrib)
eric/repos/staging-any/PKGBUILD
(from rev 208197, eric/trunk/PKGBUILD)
eric/repos/staging-any/eric.desktop
(from rev 208197, eric/trunk/eric.desktop)
eric/repos/staging-any/eric.install
(from rev 208197, eric/trunk/eric.install)
--------------+
.contrib | 7 ++++++
PKGBUILD | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
eric.desktop | 10 +++++++++
eric.install | 10 +++++++++
4 files changed, 88 insertions(+)
Copied: eric/repos/staging-any/.contrib (from rev 208197, eric/trunk/.contrib)
===================================================================
--- staging-any/.contrib (rev 0)
+++ staging-any/.contrib 2014-03-18 16:35:21 UTC (rev 208198)
@@ -0,0 +1,7 @@
+This is a list of (past) contributors not already credited in the PKGBUILD:
+
+Eric Belanger <eric at archlinux.org>
+riai <riai at bigfoot.com>
+Ben <ben at benmazer.net>
+Daniel J Griffiths <ghost1227 at archlinux.us>
+Felix Rohrbach <fxrh at gmx.de>
Copied: eric/repos/staging-any/PKGBUILD (from rev 208197, eric/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2014-03-18 16:35:21 UTC (rev 208198)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+# See .contrib for older/other contributors
+
+pkgname=eric
+pkgver=5.4.2
+pkgrel=2
+pkgdesc="A full-featured Python 3.x and Ruby IDE in PyQt4"
+arch=('any')
+url="http://eric-ide.python-projects.org/"
+license=('GPL3')
+depends=('python-qscintilla' 'python>=3.4')
+conflicts=('eric5')
+provides=('eric5')
+replaces=('eric5')
+install=$pkgname.install
+source=("http://downloads.sourceforge.net/eric-ide/eric5-$pkgver.tar.gz"
+ "$pkgname.desktop")
+md5sums=('ceeaa688393d6955b95a543df0cddcb3'
+ '8aa446c29e6de54e85410e040e754c6e')
+
+prepare() {
+ cd "$srcdir/eric5-$pkgver"
+
+ # some freedesktop.org compatibility adjustments (referenced at runtime)
+ # TODO: check if this is still needed, else move to package()
+ for i in $(grep -R "eric5.desktop" . | sed 's/:.*//' | sort -u); do
+ sed -i "s/eric5.desktop/eric.desktop/" $i
+ done
+
+ # desktop file later needed during build
+ rm eric/eric5.desktop
+ install -m644 "$srcdir/$pkgname.desktop" eric/$pkgname.desktop
+}
+
+package() {
+ cd "$srcdir/eric5-$pkgver"
+
+ python install.py -c -b /usr/bin -i "$pkgdir"
+
+ # Remove files conflicting with eric4
+ # what are we doing here?
+ # TODO: tell upstream to fix their stuff
+ # and allow installation of eric4 + eric5
+ # OR package these files separately eg. 'eric-common'
+ rm "$pkgdir/usr/share/qt4/qsci/api/python/zope-2.10.7.api"
+ rm "$pkgdir/usr/share/qt4/qsci/api/python/zope-2.11.2.api"
+ rm "$pkgdir/usr/share/qt4/qsci/api/python/zope-3.3.1.api"
+ rm "$pkgdir/usr/share/qt4/qsci/api/ruby/Ruby-1.8.7.api"
+
+ # some canonical symlinks
+ # TODO: might we want to just package this as eric5?
+ # upstream references them as two distinct versions...
+ cd "$pkgdir/usr/bin"
+ for i in *; do
+ ln -s /usr/bin/$i ${i/eric5/eric}
+ done
+}
+
+# vim:set ts=2 sw=2 et:
Copied: eric/repos/staging-any/eric.desktop (from rev 208197, eric/trunk/eric.desktop)
===================================================================
--- staging-any/eric.desktop (rev 0)
+++ staging-any/eric.desktop 2014-03-18 16:35:21 UTC (rev 208198)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Exec=eric5
+MimeType=application/x-eric5;
+Icon=eric
+Terminal=false
+Name=Eric 5
+Comment=Python 3.x & Ruby IDE
+Categories=Qt;Python;Development;IDE;
+StartupNotify=true
Copied: eric/repos/staging-any/eric.install (from rev 208197, eric/trunk/eric.install)
===================================================================
--- staging-any/eric.install (rev 0)
+++ staging-any/eric.install 2014-03-18 16:35:21 UTC (rev 208198)
@@ -0,0 +1,10 @@
+post_install() {
+ echo " > Updating desktop mime database..."
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list