updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / eclipse-m2eclipse / PKGBUILD
blob31c330a132c60cee82f6d29c51d7d05ed17cdc8c
1 # Maintainer: Ryan Tandy <tarpman@gmail.com>
2 # Contributor: Cilyan Olowen <gaknar@gmail.com>
4 pkgname=eclipse-m2eclipse
5 pkgver=0.10.2
6 pkgrel=1
7 buildid=20100623-1649
8 pkgdesc="Maven integration in Eclipse"
9 arch=('i686' 'x86_64')
10 url="http://m2eclipse.sonatype.org"
11 license=('EPL')
12 depends=('eclipse-wtp-wst')
13 replaces=('eclipse-maven')
15 source=("${url}/sites/m2e/${pkgver}.${buildid}/features/org.maven.ide.eclipse.feature_${pkgver}.${buildid}.jar"
16     "${url}/sites/m2e/${pkgver}.${buildid}/features/org.maven.ide.eclipse.sdk.feature_${pkgver}.${buildid}.jar"
17     "${url}/sites/m2e/${pkgver}.${buildid}/features/org.maven.ide.eclipse.site_${pkgver}.${buildid}.jar"
18     "${url}/sites/m2e/${pkgver}.${buildid}/plugins/org.maven.ide.eclipse.archetype_common_${pkgver}.${buildid}.jar"
19     "${url}/sites/m2e/${pkgver}.${buildid}/plugins/org.maven.ide.eclipse.dependency_tree_${pkgver}.${buildid}.jar"
20     "${url}/sites/m2e/${pkgver}.${buildid}/plugins/org.maven.ide.eclipse.editor.xml_${pkgver}.${buildid}.jar"
21     "${url}/sites/m2e/${pkgver}.${buildid}/plugins/org.maven.ide.eclipse.editor_${pkgver}.${buildid}.jar"
22     "${url}/sites/m2e/${pkgver}.${buildid}/plugins/org.maven.ide.eclipse.integration.tests.common_0.10.0.201006231734.jar"
23     "${url}/sites/m2e/${pkgver}.${buildid}/plugins/org.maven.ide.eclipse.jdt_${pkgver}.${buildid}.jar"
24     "${url}/sites/m2e/${pkgver}.${buildid}/plugins/org.maven.ide.eclipse.launching_${pkgver}.${buildid}.jar"
25     "${url}/sites/m2e/${pkgver}.${buildid}/plugins/org.maven.ide.eclipse.maven_embedder_${pkgver}.${buildid}.jar"
26     "${url}/sites/m2e/${pkgver}.${buildid}/plugins/org.maven.ide.eclipse.maven_model_edit_${pkgver}.${buildid}.jar"
27     "${url}/sites/m2e/${pkgver}.${buildid}/plugins/org.maven.ide.eclipse.nexus_indexer_${pkgver}.${buildid}.jar"
28     "${url}/sites/m2e/${pkgver}.${buildid}/plugins/org.maven.ide.eclipse.pr_${pkgver}.${buildid}.jar"
29     "${url}/sites/m2e/${pkgver}.${buildid}/plugins/org.maven.ide.eclipse.refactoring_${pkgver}.${buildid}.jar"
30     "${url}/sites/m2e/${pkgver}.${buildid}/plugins/org.maven.ide.eclipse.tests.common_${pkgver}.${buildid}.jar"
31     "${url}/sites/m2e/${pkgver}.${buildid}/plugins/org.maven.ide.eclipse_${pkgver}.${buildid}.jar")
32 noextract=("org.maven.ide.eclipse.feature_${pkgver}.${buildid}.jar"
33         "org.maven.ide.eclipse.sdk.feature_${pkgver}.${buildid}.jar"
34     "org.maven.ide.eclipse.site_${pkgver}.${buildid}.jar"
35     "org.maven.ide.eclipse.archetype_common_${pkgver}.${buildid}.jar"
36     "org.maven.ide.eclipse.dependency_tree_${pkgver}.${buildid}.jar"
37     "org.maven.ide.eclipse.editor.xml_${pkgver}.${buildid}.jar"
38     "org.maven.ide.eclipse.editor_${pkgver}.${buildid}.jar"
39     "org.maven.ide.eclipse.integration.tests.common_0.10.0.201006231734.jar"
40     "org.maven.ide.eclipse.jdt_${pkgver}.${buildid}.jar"
41     "org.maven.ide.eclipse.launching_${pkgver}.${buildid}.jar"
42     "org.maven.ide.eclipse.maven_embedder_${pkgver}.${buildid}.jar"
43     "org.maven.ide.eclipse.maven_model_edit_${pkgver}.${buildid}.jar"
44     "org.maven.ide.eclipse.nexus_indexer_${pkgver}.${buildid}.jar"
45     "org.maven.ide.eclipse.pr_${pkgver}.${buildid}.jar"
46     "org.maven.ide.eclipse.refactoring_${pkgver}.${buildid}.jar"
47     "org.maven.ide.eclipse.tests.common_${pkgver}.${buildid}.jar"
48     "org.maven.ide.eclipse_${pkgver}.${buildid}.jar")
50 md5sums=('53c6e23f79f4198abc41a6a12319ea3a'
51          '2a3af15efed5dd823972698ec42aff50'
52          '5bdc95719c0e0bd9aa7fddb717efd4c0'
53          '6724464b86b039522d942eb96181823f'
54          'e2c7f1f7772c063e96fa8f0acac2ac2d'
55          'da5bb3070fc468a18d94b6fb73229634'
56          '1f33162fc6559112502cdc1ee2a02840'
57          '92efe03d14ac511fc8d26ddbb1de15aa'
58          'a35e3e2adb9580d82a0be01a118cf9eb'
59          '96b0e23f7aee358e6b352cb87ef60a67'
60          '0962019b8e5a4cf0fc700929ba0e57b4'
61          '911c3933be26d8de9aa1d81d30d82703'
62          'c6d596759ea14ea3551c265a2e411ed3'
63          '6e4f16675408672fb5bc9de2f3e51b17'
64          '85abd0c4131652cd42474cd36b642cf9'
65          '46f5f801a77b76bd177c2546c957a2fd'
66          'b5171e7c153a3c8a499e860623645384')
68 build() {
69   _dest=${pkgdir}/usr/share/eclipse/dropins/maven/eclipse
71   for url in ${source[@]}
72   do 
73     _file="${url##*/}"
74     _type="${url%/*}"
75     _type="${_type##*/}"
77     install -dm755 ${_dest}/${_type}/${_file/.jar} 
78     cd ${_dest}/${_type}/${_file/.jar}
79     jar xf ${srcdir}/${_file} || return 1
80   done     
82 # vim:set ts=4 sw=4 et: