updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / eclipseme / PKGBUILD
blob26b02f07187e794c4d09b7e107cb108d3bff213d
1 pkgname=eclipseme
2 pkgver=1.7.9
3 pkgrel=1
4 pkgdesc="J2ME Development using Eclipse"
5 arch=('i686' 'x86_64')
6 url="http://www.eclipse.org/mylyn/"
7 license=('EPL')
8 depends=('eclipse' 'sun-wtk')
9 optdepends=('bugzilla: ticketing support')
10 source=('http://downloads.sourceforge.net/project/eclipseme/eclipseme/1.7.9/eclipseme.feature_1.7.9_site.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Feclipseme%2Ffiles%2Feclipseme%2F1.7.9%2F&ts=1325856471&use_mirror=nchc')
11 md5sums=('bdf84e7a7f72d0879644cb8bb4aa338b')
13 build() {
14   _dest=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
16   cd ${srcdir}
18   # Features
19   find features -type f | while read _feature ; do
20     if [[ ${_feature} =~ (.*\.jar$) ]] ; then
21       install -dm755 ${_dest}/${_feature%*.jar}
22       cd ${_dest}/${_feature/.jar}
23       jar xf ${srcdir}/${_feature} || return 1
24     else
25       install -Dm644 ${_feature} ${_dest}/${_feature}
26     fi
27   done
29   # Plugins
30   find plugins -type f | while read _plugin ; do
31     install -Dm644 ${_plugin} ${_dest}/${_plugin}
32   done