PKGBUILDs/extra/eric/PKGBUILD

47 lines
2.3 KiB
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 49307 2009-08-06 00:18:51Z giovanni $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: riai <riai@bigfoot.com>, Ben <ben@benmazer.net>
pkgname=eric
pkgver=4.3.6
pkgrel=1
pkgdesc="A full-featured Python IDE that is written in PyQt4 using the QScintilla2 editor widget"
arch=('i686' 'x86_64')
url="http://eric-ide.python-projects.org/index.html"
license=('GPL2')
depends=('python-qscintilla')
conflicts=('eric4')
replaces=('eric4')
install=eric.install
source=(http://downloads.sourceforge.net/sourceforge/eric-ide/eric4-${pkgver}.tar.gz eric.desktop)
build() {
cd ${srcdir}/eric4-${pkgver}
python install.py -c -b /usr/bin -d /usr/lib/python2.6/site-packages -i ${pkgdir}
install -D -m644 ../eric.desktop ${pkgdir}/usr/share/applications/eric.desktop || return 1
install -D -m644 eric/icons/default/eric.png ${pkgdir}/usr/share/pixmaps/eric.png || return 1
# Creating version independant symlinks
ln -s /usr/bin/eric4 ${pkgdir}/usr/bin/eric || return 1
ln -s /usr/bin/eric4-api ${pkgdir}/usr/bin/eric-api || return 1
ln -s /usr/bin/eric4-compare ${pkgdir}/usr/bin/eric-compare || return 1
ln -s /usr/bin/eric4-configure ${pkgdir}/usr/bin/eric-configure || return 1
ln -s /usr/bin/eric4-diff ${pkgdir}/usr/bin/eric-diff || return 1
ln -s /usr/bin/eric4-doc ${pkgdir}/usr/bin/eric-doc || return 1
ln -s /usr/bin/eric4-editor ${pkgdir}/usr/bin/eric-editor || return 1
ln -s /usr/bin/eric4-helpviewer ${pkgdir}/usr/bin/eric-helpviewer || return 1
ln -s /usr/bin/eric4-plugininstall ${pkgdir}/usr/bin/eric-plugininstall || return 1
ln -s /usr/bin/eric4-pluginrepository ${pkgdir}/usr/bin/eric-pluginrepository || return 1
ln -s /usr/bin/eric4-pluginuninstall ${pkgdir}/usr/bin/eric-pluginuninstall || return 1
ln -s /usr/bin/eric4-qregexp ${pkgdir}/usr/bin/eric-qregexp || return 1
ln -s /usr/bin/eric4-re ${pkgdir}/usr/bin/eric-re || return 1
ln -s /usr/bin/eric4-tray ${pkgdir}/usr/bin/eric-tray || return 1
ln -s /usr/bin/eric4-trpreviewer ${pkgdir}/usr/bin/eric-trpreviewer || return 1
ln -s /usr/bin/eric4-uipreviewer ${pkgdir}/usr/bin/eric-uipreviewer || return 1
ln -s /usr/bin/eric4-unittest ${pkgdir}/usr/bin/eric-unittest || return 1
}
md5sums=('b42dee53f1e23ffe48bf2c21f1dbeeb0'
'77c494bb839c5744869d34355ea69095')