1 # Maintainer: Sven Schneider <archlinux.sandmann@googlemail.com>
3 pkgname="eclipse-rtmtools"
6 pkgdesc="OpenRTM-aist tools to manipulate RT components in real-time using a graphical interface"
8 url="http://www.openrtm.org"
10 depends=("eclipse-emf" "eclipse-gef")
11 optdepends=('openrtm-aist: Compilation of C++ components'
12 'openrtm-aist-java: Compilation of Java components'
13 'openrtm-aist-python: Compilation of Python components')
14 source=("http://www.openrtm.org/pub/OpenRTM-aist/tools/1.0.0/rtmtools100release_en.zip")
16 md5sums=('e1051282f79dd8a2618ad993e92063ce')
19 _dest=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
24 find features -type f | while read _feature ; do
25 if [[ ${_feature} =~ (.*\.jar$) ]] ; then
26 install -dm755 ${_dest}/${_feature%*.jar}
27 cd ${_dest}/${_feature/.jar}
28 jar xf ${srcdir}/${_feature} || return 1
30 install -Dm644 ${_feature} ${_dest}/${_feature}
35 find plugins -type f | while read _plugin ; do
36 install -Dm644 ${_plugin} ${_dest}/${_plugin}