1 # $Id: PKGBUILD 35437 2010-12-20 13:49:41Z angvp $
2 # Maintainer: Angel Velasquez <angvp@archlinux.org>
3 # Contributor: Corrado Primier <bardo@aur.archlinux.org>
4 # Contributor: Rubin Simons <rubin@xs4all.nl>
10 pkgdesc="Visual Editor framework for the Eclipse platform"
12 url="http://www.eclipse.org/vep/"
14 depends=('eclipse-emf' 'eclipse-gef')
16 # Source doesn't exist
17 #source=(http://download.eclipse.org/tools/ve/downloads/drops/${pkgver}/R${_reldate}/VE-Update-${pkgver}.zip)
18 #md5sums=('49dba69a94960dcff11b239f89ca112d')
19 # Perhaps there's better luck with this one?
20 #source=("http://archive.eclipse.org/tools/archives/ve.tgz")
23 _dest=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
28 find features -type f | while read _feature ; do
29 if [[ ${_feature} =~ (.*\.jar$) ]] ; then
30 install -dm755 ${_dest}/${_feature%.jar}
31 cd ${_dest}/${_feature/.jar}
32 jar xf ${srcdir}/${_feature} || return 1
35 install -Dm644 ${_feature} ${_dest}/${_feature}
40 find plugins -type f | while read _plugin ; do
41 install -Dm644 ${_plugin} ${_dest}/${_plugin}
44 for _plugin in *.jar.pack.gz ; do
46 unpack200 -qr ${_plugin%.gz} ${_plugin%.pack.gz}
50 install -Dm644 ${srcdir}/{artifacts,content}.jar ${_dest}
53 # vim:set ts=2 sw=2 et:
54 md5sums=('ecb54b171bb8583623bc184b7e340e97')