updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / eclipse-pdt / PKGBUILD
blob3f8ae47d13a22258bf330c52ff566a8dd4d7eab8
1 # Maintainer: Shanto <shanto@hotmail.com>
2 # Contributor: Jonathan Wiersma <archaur at jonw dot org>
4 pkgname=eclipse-pdt
5 _pkgver=3.0.0
6 _reltag=M201201110400
7 pkgver=${_pkgver}_${_reltag}
8 pkgrel=1
9 pkgdesc="PHP Development Tools for Eclipse"
10 arch=('i686' 'x86_64')
11 url="http://www.eclipse.org/pdt/"
12 license=('EPL')
13 depends=( 'eclipse-dltk-core-index' 'eclipse-dtp' 'eclipse-wtp' )
14 optdepends=('eclipse-rse' 'eclipse-pdt-debugger' 'php' 'xdebug' 'php-zend-debugger')
15 install=eclipse-pdt.install
16 _mirror="http://www.eclipse.org/downloads/download.php?r=1&file="
17 source=("$_mirror/tools/pdt/downloads/drops/${_pkgver}/${_reltag}/pdt-SDK-${_reltag}.zip")
18 md5sums=('873850e79af043a51f2d28123ce81714')
20 package() {
21         cd $srcdir
22         install -dm755 $pkgdir/usr/share/eclipse/dropins/${pkgname#eclipse-}/
23         find eclipse -type f -exec install -Dm644 {} \
24                 $pkgdir/usr/share/eclipse/dropins/${pkgname#eclipse-}/{} \;