blob: 00b8f4e30eb48e8abcdbc133ac71818332f82be8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Shanto <shanto@hotmail.com>
# Contributor: Jonathan Wiersma <archaur at jonw dot org>
pkgname=eclipse-dltk-xotcl
pkgver=5.0.0
pkgrel=1
_pkgdate=201306060709
pkgdesc="XOTcl IDE for Eclipse"
arch=('i686' 'x86_64')
url="http://www.eclipse.org/dltk/"
license=('EPL')
depends=("eclipse-dltk-tcl")
_mirror="http://www.eclipse.org/downloads/download.php?r=1&file="
source=("$_mirror/technology/dltk/downloads/drops/R${pkgver:0:3}/R-${pkgver:0:3}-$_pkgdate/${pkgname#eclipse-}-I-$_pkgdate.zip")
md5sums=('b8cddb0cdd5fc7363bb3ba4f4727d32b')
package() {
_dest=$pkgdir/usr/share/eclipse/dropins/${pkgname#eclipse-}/eclipse
cd $srcdir
install -dm755 $_dest
find plugins features -type f -exec install -Dm644 {} \
$_dest/{} \;
# DLTK requires features/*.jar files extracted
find $_dest/features -type f -name '*.jar' | while read f; do
install -dm755 ${f%*.jar} && cd ${f%*.jar}
jar xf $f && rm $f
done
}
|