updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / eclipse-shelled / PKGBUILD
blobcbc8c5157c6b90b0eccc8fb3ffbd8e5f4ffe0ba8
1 # Maintainer: Shanto <shanto@hotmail.com>
2 # Contributor: Shanto <shanto@hotmail.com>
4 pkgname=eclipse-shelled
5 pkgver=2.0.0
6 pkgrel=2
7 pkgdesc="Superb shell script editor for Eclipse"
8 arch=('any')
9 url="http://shelled.sourceforge.net/"
10 license=('EPL')
11 depends=("eclipse" "eclipse-dltk-core" "eclipse-linuxtools")
12 optdepends=('openssh')
13 _mirror="http://freefr.dl.sourceforge.net"
14 source=("$_mirror/project/shelled/shelled/ShellEd%20${pkgver}/net.sourceforge.shelled-site-${pkgver}.zip")
15 md5sums=('860fc4c3cf16ffd20bf3a34f015eb44e')
17 package() {
18         _dest=$pkgdir/usr/share/eclipse/dropins/${pkgname#eclipse-}/eclipse
19         cd $srcdir
20         install -dm755 $_dest/
21         find features plugins -type f -name '*.jar' | while read jar ; do
22                 install -dm755 ${_dest}/${jar%*.jar}
23                 cd ${_dest}/${jar/.jar}
24                 jar xf ${srcdir}/${jar}
25         done
26         find $_dest/plugins -name MANIFEST.MF \
27                 -exec sed -i 's|eclipse.linuxtools.man,|eclipse.linuxtools.man.core,|g' {} \;