PKGBUILDs/extra/eric-plugins/PKGBUILD
2009-10-09 21:23:22 -05:00

45 lines
2.4 KiB
Bash

# $Id: PKGBUILD 31065 2009-03-24 08:57:54Z douglas $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Eric Belanger <eric@archlinux.org>
pkgname=eric-plugins
pkgver=4.3.0
_plugin1ver=4.1.3
_plugin2ver=4.2.0
_plugin4ver=1.1.5
_plugin5ver=4.1.4
_plugin6ver=4.1.10
_plugin7ver=2.1.0
pkgrel=1
pkgdesc="Plugins for the eric Python IDE"
arch=('i686' 'x86_64')
url="http://www.die-offenbachs.de/eric/index.html"
license=('GPL2')
depends=('eric')
makedepends=('unzip')
install=${pkgname}.install
source=(http://downloads.sourceforge.net/sourceforge/eric-ide/Plugin_Checker_PyLint-${_plugin1ver}.tar.gz \
http://downloads.sourceforge.net/sourceforge/eric-ide/Plugin_Packager_CxFreeze-${_plugin2ver}.tar.gz \
http://downloads.sourceforge.net/sourceforge/eric-ide/Plugin_Refactoring_Rope-${_plugin4ver}.tar.gz \
http://downloads.sourceforge.net/sourceforge/eric-ide/Plugin_Tools_CharTables-${_plugin5ver}.tar.gz \
http://downloads.sourceforge.net/sourceforge/eric-ide/Plugin_Vcs_CVS-${_plugin6ver}.tar.gz \
http://downloads.sourceforge.net/sourceforge/eric-ide/Plugin_Project_Django-${_plugin7ver}.tar.gz)
build() {
cd ${startdir}/src
install -d ${startdir}/pkg/usr/lib/python2.6/site-packages/eric4plugins
unzip -o Plugin_Checker_PyLint-${_plugin1ver}/*.zip -d ${startdir}/pkg/usr/lib/python2.6/site-packages/eric4plugins || return 1
unzip -o Plugin_Packager_CxFreeze-${_plugin2ver}/*.zip -d ${startdir}/pkg/usr/lib/python2.6/site-packages/eric4plugins || return 1
unzip -o Plugin_Refactoring_Rope-${_plugin4ver}/*.zip -d ${startdir}/pkg/usr/lib/python2.6/site-packages/eric4plugins || return 1
unzip -o Plugin_Tools_CharTables-${_plugin5ver}/*.zip -d ${startdir}/pkg/usr/lib/python2.6/site-packages/eric4plugins || return 1
unzip -o Plugin_Vcs_CVS-${_plugin6ver}/*.zip -d ${startdir}/pkg/usr/lib/python2.6/site-packages/eric4plugins || return 1
unzip -o Plugin_Project_Django-${_plugin7ver}/*.zip -d ${startdir}/pkg/usr/lib/python2.6/site-packages/eric4plugins || return 1
rm -r ${startdir}/pkg/usr/lib/python2.6/site-packages/eric4plugins/{VERSION,*/Documentation}
find ${startdir}/pkg -type d -exec chmod 755 {} \;
}
md5sums=('7781bc6f561f02f04639ab88af56ed8e'
'7916422e0bb821e9ea2764f6385a56c4'
'8c7bab8b84713c9a5cc20a43991554c3'
'ee120a9950e86bb9e225a2d6d65a355f'
'ff456cc2672e1c9628bb92b52ab1b399'
'59d4e479d35c3a86867d1747ae023f8c')