1 # Contributor: Jesus Jerez <jhuss@archlinux.org.ve>
3 pkgname=eclipse-gef-runtime
5 _pkgbuild=M201007121555
7 pkgdesc="GEF runtime only for the Eclipse platform"
8 url="http://www.eclipse.org/gef/"
13 conflicts=('eclipse-gef')
14 provides=('eclipse-gef')
15 changelog=$pkgname.changelog
16 source=("http://download.eclipse.org/tools/gef/downloads/drops/${pkgver}/${_pkgbuild}/GEF-runtime-${_pkgbuild}.zip"
17 "http://download.eclipse.org/tools/gef/downloads/drops/${pkgver}/${_pkgbuild}/GEF-zest-${_pkgbuild}.zip")
18 md5sums=('4a1c9bac6243b8d4a499d69f7a609765'
19 '733b3f205c2d8797a6a9747ad1e43801')
20 sha256sums=('956824a2bca27e142140e88fb15d0431c5fbbcaf924fe374f00c4578b01c83b2'
21 'dfc3c13c4fc970eb0895ed50fdf8e405ebe792c8aec411a63f94fb5823392b60')
25 _dest=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
30 find features -type f | while read _feature ; do
31 if [[ ${_feature} =~ (.*\.jar$) ]] ; then
32 install -dm755 ${_dest}/${_feature%*.jar}
33 cd ${_dest}/${_feature/.jar}
34 jar xf ${srcdir}/${_feature} || return 1
36 install -Dm644 ${_feature} ${_dest}/${_feature}
41 find plugins -type f | while read _plugin ; do
42 install -Dm644 ${_plugin} ${_dest}/${_plugin}