1 # Maintainer: Sven Schneider <archlinux.sandmann@googlemail.com>
2 # Contributor: Angel Velasquez <angvp@archlinux.org>
3 # Contributor: Corrado Primier <bardo@aur.archlinux.org>
9 pkgdesc="A task-focused interface for Eclipse"
11 url="http://www.eclipse.org/mylyn/"
15 optdepends=('bugzilla: ticketing support')
16 source=(http://download.eclipse.org/mylyn/drops/${pkgver}/v${_reldate}/mylyn-${pkgver}.v${_reldate}.zip)
17 replaces=('eclipse-mylyn-extras')
19 provices=("eclipse-mylyn-extras=${pkgver}")
20 md5sums=('e685a42f9d6327bf633ba12770c593ac')
27 _dest=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
32 find features -type f | while read _feature ; do
33 if [[ ${_feature} =~ (.*\.jar$) ]] ; then
34 install -dm755 ${_dest}/${_feature%*.jar}
35 cd ${_dest}/${_feature/.jar}
36 jar xf ${srcdir}/${_feature} || return 1
38 elif [[ ! ${_feature} =~ (.*\.jar.pack.gz) ]] || [ ! -e ${_feature%\.pack\.gz$} ] ; then
39 install -Dm644 ${_feature} ${_dest}/${_feature}
44 find plugins -type f | while read _plugin ; do
45 if [[ ! ${_plugin} =~ (.*\.jar.pack.gz) ]] || [ ! -e ${_plugin%\.pack\.gz$} ] ; then
46 install -Dm644 ${_plugin} ${_dest}/${_plugin}