Date: Monday, April 4, 2011 @ 18:20:53 Author: schiv Revision: 117946
add eric, eric-plugins Added: eric-plugins/ eric-plugins/repos/ eric-plugins/trunk/ eric-plugins/trunk/PKGBUILD eric/ eric/repos/ eric/trunk/ eric/trunk/PKGBUILD eric/trunk/eric.desktop -----------------------------+ eric-plugins/trunk/PKGBUILD | 38 ++++++++++++++++++++++++++++++ eric/trunk/PKGBUILD | 53 ++++++++++++++++++++++++++++++++++++++++++ eric/trunk/eric.desktop | 8 ++++++ 3 files changed, 99 insertions(+) Added: eric/trunk/PKGBUILD =================================================================== --- eric/trunk/PKGBUILD (rev 0) +++ eric/trunk/PKGBUILD 2011-04-04 22:20:53 UTC (rev 117946) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Ray Rashif <[email protected]> +# Maintainer: Brad Fanella <[email protected]> +# Contributor: Eric Belanger <[email protected]> +# Contributor: riai <[email protected]>, Ben <[email protected]> +# Contributor: Daniel J Griffiths <[email protected]> +# Contributor: Felix Rohrbach <[email protected]> + +pkgname=eric +pkgver=5.1.1 +pkgrel=1 +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-qt' 'python-qscintilla') +provides=('eric5') +replaces=('eric5') +source=("http://downloads.sourceforge.net/eric-ide/${pkgname}5-$pkgver.tar.gz" + "$pkgname.desktop") +md5sums=('583060a12742cb9b5292a79f648cc3e3' + 'eb0ee7ce0b5c3ff815a9c0145f7ae536') + +package() { + cd "$srcdir/${pkgname}5-$pkgver" + + python install.py -c -b /usr/bin -i "$pkgdir" + + # freedesktop.org compatibility + install -Dm644 "$srcdir/$pkgname.desktop" \ + "$pkgdir/usr/share/applications/$pkgname.desktop" + + rm "$pkgdir/usr/share/applications/${pkgname}5.desktop" + + # 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/qt/qsci/api/python/zope-2.10.7.api" + rm "$pkgdir/usr/share/qt/qsci/api/python/zope-2.11.2.api" + rm "$pkgdir/usr/share/qt/qsci/api/python/zope-3.3.1.api" + rm "$pkgdir/usr/share/qt/qsci/api/ruby/Ruby-1.8.7.api" + + # some canonical symlinks + cd "$pkgdir/usr/bin" + + for i in *; do + ln -s /usr/bin/$i ${i/eric5/eric} + done +} + +# vim:set ts=2 sw=2 et: Added: eric/trunk/eric.desktop =================================================================== --- eric/trunk/eric.desktop (rev 0) +++ eric/trunk/eric.desktop 2011-04-04 22:20:53 UTC (rev 117946) @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Eric +Comment=Python 3.x & Ruby IDE +Icon=eric +Exec=eric +Terminal=false +Type=Application +Categories=Qt;Development;IDE; Added: eric-plugins/trunk/PKGBUILD =================================================================== --- eric-plugins/trunk/PKGBUILD (rev 0) +++ eric-plugins/trunk/PKGBUILD 2011-04-04 22:20:53 UTC (rev 117946) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Ray Rashif <[email protected]> +# Maintainer: Brad Fanella <[email protected]> + +pkgname=eric-plugins +pkgver=5.1.0 +pkgrel=1 +pkgdesc="Plug-ins for the Eric (5.x) IDE" +arch=('any') +url="http://eric-ide.python-projects.org/" +license=('GPL3') +depends=('eric') +provides=('eric5-plugins') +replaces=('eric5-plugins') +source=("http://downloads.sourceforge.net/eric-ide/Plugin_Assistant_Eric-2.0.1.tar.gz" + "http://downloads.sourceforge.net/eric-ide/stable/Plugin_Issue_Tracker-1.0.0.tar.gz") +md5sums=('4d07663fd2866f76b3e1c89de3c5cfe7' + '6f098969ee43d7efb4de6694351290d1') + +package() { + cd "$srcdir" + + _pymodpath=$(python -c \ + "from distutils.sysconfig import get_python_lib; print(get_python_lib())") + + install -d "$pkgdir$_pymodpath/eric5plugins" + + bsdtar xf Plugin_Assistant_Eric-2.0.1/*.zip \ + -C "$pkgdir$_pymodpath/eric5plugins" + bsdtar xf Plugin_Issue_Tracker-1.0.0/*.zip \ + -C "$pkgdir$_pymodpath/eric5plugins" + + rm -r "$pkgdir$_pymodpath"/eric5plugins/{VERSION,*/Documentation} + find "$pkgdir" -type d -exec chmod 755 {} \; + find "$pkgdir" -type f -exec chmod 644 {} \; +} + +# vim:set ts=2 sw=2 et:
