updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / scala-ide / PKGBUILD
blob33f538e6da09eb340fd0c8deb2238ce0c9534b01
1 # Maintainer: Kristof Jozsa <kjozsa@fsdev.hu>
3 pkgname=scala-ide
4 pkgver=2.0.0beta12
5 pkgrel=5
6 pkgdesc="Scala IDE for Eclipse"
7 arch=('i686' 'x86_64')
8 url="http://www.scala-ide.org/"
9 license=('custom')
10 depends=('eclipse>=3.7')
11 optdepends=('eclipse-ajdt: aspect weaving support')
12 noextract=(${source[@]##*/})
14 source=(\
15 http://download.scala-ide.org/releases/2.0.0-beta/features/org.scala-ide.sdt.feature_2.0.0.beta12-2_09-201110310936-87d1fd5.jar \
16 http://download.scala-ide.org/releases/2.0.0-beta/features/org.scala-ide.sdt.source.feature_2.0.0.beta12-2_09-201110310936-87d1fd5.jar \
17 http://download.scala-ide.org/releases/2.0.0-beta/plugins/org.scala-ide.sbt.full.library_0.11.3.2_09-20111031-0501.jar \
18 http://download.scala-ide.org/releases/2.0.0-beta/plugins/org.scala-ide.scala.compiler_2.9.2.r25900-b20111028042233.jar \
19 http://download.scala-ide.org/releases/2.0.0-beta/plugins/org.scala-ide.scala.library_2.9.2.r25900-b20111028042233.jar \
20 http://download.scala-ide.org/releases/2.0.0-beta/plugins/org.scala-ide.sdt.aspects.source_2.0.0.beta12-2_09-201110310936-87d1fd5.jar \
21 http://download.scala-ide.org/releases/2.0.0-beta/plugins/org.scala-ide.sdt.aspects_2.0.0.beta12-2_09-201110310936-87d1fd5.jar \
22 http://download.scala-ide.org/releases/2.0.0-beta/plugins/org.scala-ide.sdt.core.source_2.0.0.beta12-2_09-201110310936-87d1fd5.jar \
23 http://download.scala-ide.org/releases/2.0.0-beta/plugins/org.scala-ide.sdt.core_2.0.0.beta12-2_09-201110310936-87d1fd5.jar \
24 http://download.scala-ide.org/releases/2.0.0-beta/plugins/org.scala-refactoring.library_0.3.0.201110310505.jar \
25 http://download.scala-ide.org/releases/2.0.0-beta/plugins/scalariform_0.1.2.201110310507.jar \
26 LICENSE)
28 md5sums=( \
29 '357e613edf5a5930f71276808823e8f1' \
30 '1b1c358ed41565ca4128aef80108ad88' \
31 '22bb02bb22277d33d8bc174817b51945' \
32 '49cd7c6080be13013b17b3126a7f1f97' \
33 '916c10adaa38f13108bf21e80152bbbc' \
34 'e7358c43d1ab94104491b2df8635effb' \
35 '32b1ef83abfa619e527fd58365041502' \
36 '0b1fe87dbc9366a73f49acf416b9b541' \
37 '08f28c45d6dd624661f1aefe8166122c' \
38 '7b51ef6285e058b54629448b904cf961' \
39 'f8949e45c219ec4cc36e9818650bce9e' \
40 '58b225f304aaf42c8b8738894a10cb96')
42 build() {
43   mkdir -p $pkgdir/usr/share/eclipse/dropins/scala-ide/eclipse/features
44   mkdir -p $pkgdir/usr/share/eclipse/dropins/scala-ide/eclipse/plugins
46   install -m644 org.scala-ide.sdt.feature_2.0.0.beta12-2_09-201110310936-87d1fd5.jar $pkgdir/usr/share/eclipse/dropins/scala-ide/eclipse/features/
47   install -m644 org.scala-ide.sdt.source.feature_2.0.0.beta12-2_09-201110310936-87d1fd5.jar $pkgdir/usr/share/eclipse/dropins/scala-ide/eclipse/features/
48   
49   for i in \
50 org.scala-ide.sbt.full.library_0.11.3.2_09-20111031-0501.jar \
51 org.scala-ide.scala.compiler_2.9.2.r25900-b20111028042233.jar \
52 org.scala-ide.scala.library_2.9.2.r25900-b20111028042233.jar \
53 org.scala-ide.sdt.aspects_2.0.0.beta12-2_09-201110310936-87d1fd5.jar \
54 org.scala-ide.sdt.aspects.source_2.0.0.beta12-2_09-201110310936-87d1fd5.jar \
55 org.scala-ide.sdt.core_2.0.0.beta12-2_09-201110310936-87d1fd5.jar \
56 org.scala-ide.sdt.core.source_2.0.0.beta12-2_09-201110310936-87d1fd5.jar \
57 org.scala-refactoring.library_0.3.0.201110310505.jar \
58 scalariform_0.1.2.201110310507.jar \
59 ; do 
60     install -m644 $i $pkgdir/usr/share/eclipse/dropins/scala-ide/eclipse/plugins/; \
61   done
63   install -D -m0644 $startdir/LICENSE $pkgdir/usr/share/licenses/${pkgname}/LICENSE