updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / eric4-plugins-stable / PKGBUILD
blob4172d26d36b672ee043e18e001154f651c1d8158
1 # Contributor: Thorsten Weimann <thorsten.weimann (at) gmx (dot) net>
3 pkgname=eric4-plugins-stable
4 pkgver=4.4.4
6 _src_url='http://downloads.sourceforge.net/eric-ide'
7 _p1name='Plugin_Assistant_Eric'
8 _p1ver=1.2.2
9 _p2name='Plugin_Checker_PyLint'
10 _p2ver=4.2.0
11 _p3name='Plugin_Packager_CxFreeze'
12 _p3ver=4.3.0
13 _p4name='Plugin_Project_Django'
14 _p4ver=2.1.0
15 _p5name='Plugin_Project_Pylons'
16 _p5ver=1.0.0
17 _p6name='Plugin_Project_TurboGears'
18 _p6ver=1.0.5
19 _p7name='Plugin_Project_wxPython'
20 _p7ver=1.0.3
21 _p8name='Plugin_Refactoring_Rope'
22 _p8ver=1.1.5
23 _p9name='Plugin_Tools_CharTables'
24 _p9ver=4.1.4
25 _p10name='Plugin_Vcs_CVS'
26 _p10ver=4.1.12
28 pkgrel=1
29 pkgdesc="Plugins for the eric Python IDE version 4.x (currently 10 plugins)."
30 arch=('any')
31 url="http://eric-ide.python-projects.org/index.html"
32 license=('GPL')
33 depends=('eric')
34 makedepends=('unzip')
35 optdepends=('cx_freeze: Support for freezing Python apps'
36             'cvs: Support for CVS version control system'
37             'pylint: Python code coverage')
38 conflicts=('eric-plugins')
39 provides=('eric-plugins')
40 source=(${_src_url}/${_p1name}-${_p1ver}.tar.gz
41         ${_src_url}/${_p2name}-${_p2ver}.tar.gz
42         ${_src_url}/${_p3name}-${_p3ver}.tar.gz
43         ${_src_url}/${_p4name}-${_p4ver}.tar.gz
44         ${_src_url}/${_p5name}-${_p5ver}.tar.gz
45         ${_src_url}/${_p6name}-${_p6ver}.tar.gz
46         ${_src_url}/${_p7name}-${_p7ver}.tar.gz
47         ${_src_url}/${_p8name}-${_p8ver}.tar.gz
48         ${_src_url}/${_p9name}-${_p9ver}.tar.gz
49         ${_src_url}/${_p10name}-${_p10ver}.tar.gz)
51 md5sums=('f29a78260885c540704854c5196860a3'
52          '78e6b1241ace7387224016dafb985607'
53          'f1404f63f300f72352545c99d95d0b06'
54          '59d4e479d35c3a86867d1747ae023f8c'
55          '6301dec0fd21d14b3d885f699a41db3b'
56          'cd2a61fe2231c14955151764f7744561'
57          'ed877f46064076a3e7319483e31ddf5a'
58          '8c7bab8b84713c9a5cc20a43991554c3'
59          'ee120a9950e86bb9e225a2d6d65a355f'
60          '119cfb72a58c48272410cb20436e0e71')
62 build() {
63   cd ${srcdir}
64   _inst_dir='/usr/lib/python2.6/site-packages/eric4plugins'
65   install -d  ${pkgdir}${_inst_dir}
66   unzip -o ${_p1name}-${_p1ver}/*.zip -d ${pkgdir}${_inst_dir} || return 1
67   unzip -o ${_p2name}-${_p2ver}/*.zip -d ${pkgdir}${_inst_dir} || return 1
68   unzip -o ${_p3name}-${_p3ver}/*.zip -d ${pkgdir}${_inst_dir} || return 1
69   unzip -o ${_p4name}-${_p4ver}/*.zip -d ${pkgdir}${_inst_dir} || return 1
70   unzip -o ${_p5name}-${_p5ver}/*.zip -d ${pkgdir}${_inst_dir} || return 1
71   unzip -o ${_p6name}-${_p6ver}/*.zip -d ${pkgdir}${_inst_dir} || return 1
72   unzip -o ${_p7name}-${_p7ver}/*.zip -d ${pkgdir}${_inst_dir} || return 1
73   unzip -o ${_p8name}-${_p8ver}/*.zip -d ${pkgdir}${_inst_dir} || return 1
74   unzip -o ${_p9name}-${_p9ver}/*.zip -d ${pkgdir}${_inst_dir} || return 1
75   unzip -o ${_p10name}-${_p10ver}/*.zip -d ${pkgdir}${_inst_dir} || return 1
76   rm -r ${pkgdir}${_inst_dir}/{VERSION,*/Documentation}
77   find ${pkgdir} -type d -exec chmod 755 {} \;