1 # $Id: PKGBUILD 3892 2009-10-12 00:36:29Z cprimier $
2 # Maintainer: Corrado Primier <bardo@aur.archlinux.org>
3 # Contributor: Frank Oosterhuis <frank@scriptzone.nl>
5 pkgname=eclipse-phpeclipse
9 pkgdesc="PHP - Support for the Eclipse IDE Framework"
11 url="http://www.phpeclipse.com/"
14 source=("http://downloads.sourceforge.net/phpeclipse/PHPEclipse-${pkgver}.${_reldate}PRD-bin.zip")
15 md5sums=('979626fc167a77f019c729be91e3af60')
18 _dest=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
23 find features -type f | while read _feature ; do
24 if [[ ${_feature} =~ (.*\.jar$) ]] ; then
25 install -dm755 ${_dest}/${_feature%*.jar}
26 cd ${_dest}/${_feature/.jar}
27 jar xf ${srcdir}/${_feature} || return 1
29 install -Dm644 ${_feature} ${_dest}/${_feature}
34 find plugins -type f | while read _plugin ; do
35 install -Dm644 ${_plugin} ${_dest}/${_plugin}
39 # vim:set ts=2 sw=2 et: