updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / eclipse-m2e / PKGBUILD
blobef710714b565a74b97e5f4a4898b9e34c0b6a9f2
1 # Maintainer: Dieter Hsu <dieterplex@gmail.com>
2 pkgname=eclipse-m2e
3 pkgver=1.0.100
4 _pkgver=1.0
5 pkgrel=1
6 buildid=20110804-1717
7 pkgdesc="Maven Integration for Eclipse"
8 arch=('i686' 'x86_64')
9 url="http://eclipse.org/m2e"
10 license=('EPL')
11 depends=('eclipse-wtp-wst')
12 _url="http://download.eclipse.org/technology/m2e/releases/${_pkgver}/${pkgver}.${buildid}"
13 replaces=('eclipse-m2eclipse')
15 source=(
16     "${_url}/features/org.eclipse.m2e.feature_${pkgver}.${buildid}.jar"
17     "${_url}/features/org.eclipse.m2e.logback.feature_${pkgver}.${buildid}.jar"
18     "${_url}/features/org.eclipse.m2e.sdk.feature_${pkgver}.${buildid}.jar"
19     "${_url}/features/org.eclipse.m2e.site_${pkgver}.${buildid}.jar"
20     "${_url}/plugins/ch.qos.logback.classic_0.9.27.v20110224-1110.jar"
21     "${_url}/plugins/ch.qos.logback.core_0.9.27.v20110224-1110.jar"
22     "${_url}/plugins/ch.qos.logback.slf4j_0.9.27.v20110224-1110.jar"
23     "${_url}/plugins/com.ning.async-http-client_1.6.3.201108040830.jar"
24     "${_url}/plugins/org.eclipse.m2e.archetype.common_${pkgver}.${buildid}.jar"
25     "${_url}/plugins/org.eclipse.m2e.core.ui_${pkgver}.${buildid}.jar"
26     "${_url}/plugins/org.eclipse.m2e.core_${pkgver}.${buildid}.jar"
27     "${_url}/plugins/org.eclipse.m2e.discovery_${pkgver}.${buildid}.jar"
28     "${_url}/plugins/org.eclipse.m2e.editor.xml_${pkgver}.${buildid}.jar"
29     "${_url}/plugins/org.eclipse.m2e.editor_${pkgver}.${buildid}.jar"
30     "${_url}/plugins/org.eclipse.m2e.integration.tests.common_${pkgver}.${buildid}.jar"
31     "${_url}/plugins/org.eclipse.m2e.jdt_${pkgver}.${buildid}.jar"
32     "${_url}/plugins/org.eclipse.m2e.launching_${pkgver}.${buildid}.jar"
33     "${_url}/plugins/org.eclipse.m2e.lifecyclemapping.defaults_${pkgver}.${buildid}.jar"
34     "${_url}/plugins/org.eclipse.m2e.logback.appender_${pkgver}.${buildid}.jar"
35     "${_url}/plugins/org.eclipse.m2e.logback.configuration_${pkgver}.${buildid}.jar"
36     "${_url}/plugins/org.eclipse.m2e.maven.indexer_${pkgver}.${buildid}.jar"
37     "${_url}/plugins/org.eclipse.m2e.maven.runtime_${pkgver}.${buildid}.jar"
38     "${_url}/plugins/org.eclipse.m2e.model.edit_${pkgver}.${buildid}.jar"
39     "${_url}/plugins/org.eclipse.m2e.refactoring_${pkgver}.${buildid}.jar"
40     "${_url}/plugins/org.eclipse.m2e.scm_${pkgver}.${buildid}.jar"
41     "${_url}/plugins/org.eclipse.m2e.tests.common_${pkgver}.${buildid}.jar"
42     "${_url}/plugins/org.eclipse.m2e.usagedata_${pkgver}.${buildid}.jar"
43     "${_url}/plugins/org.jboss.netty_3.2.4.Final-201108040830.jar"
44     "${_url}/plugins/org.slf4j.api_1.6.1.v20100831-0715.jar")
45 noextract=(
46     "org.eclipse.m2e.feature_${pkgver}.${buildid}.jar"
47     "org.eclipse.m2e.logback.feature_${pkgver}.${buildid}.jar"
48     "org.eclipse.m2e.sdk.feature_${pkgver}.${buildid}.jar"
49     "org.eclipse.m2e.site_${pkgver}.${buildid}.jar"
50     "ch.qos.logback.classic_0.9.27.v20110224-1110.jar"
51     "ch.qos.logback.core_0.9.27.v20110224-1110.jar"
52     "ch.qos.logback.slf4j_0.9.27.v20110224-1110.jar"
53     "com.ning.async-http-client_1.6.3.201108040830.jar"
54     "org.eclipse.m2e.archetype.common_${pkgver}.${buildid}.jar"
55     "org.eclipse.m2e.core.ui_${pkgver}.${buildid}.jar"
56     "org.eclipse.m2e.core_${pkgver}.${buildid}.jar"
57     "org.eclipse.m2e.discovery_${pkgver}.${buildid}.jar"
58     "org.eclipse.m2e.editor.xml_${pkgver}.${buildid}.jar"
59     "org.eclipse.m2e.editor_${pkgver}.${buildid}.jar"
60     "org.eclipse.m2e.integration.tests.common_${pkgver}.${buildid}.jar"
61     "org.eclipse.m2e.jdt_${pkgver}.${buildid}.jar"
62     "org.eclipse.m2e.launching_${pkgver}.${buildid}.jar"
63     "org.eclipse.m2e.lifecyclemapping.defaults_${pkgver}.${buildid}.jar"
64     "org.eclipse.m2e.logback.appender_${pkgver}.${buildid}.jar"
65     "org.eclipse.m2e.logback.configuration_${pkgver}.${buildid}.jar"
66     "org.eclipse.m2e.maven.indexer_${pkgver}.${buildid}.jar"
67     "org.eclipse.m2e.maven.runtime_${pkgver}.${buildid}.jar"
68     "org.eclipse.m2e.model.edit_${pkgver}.${buildid}.jar"
69     "org.eclipse.m2e.refactoring_${pkgver}.${buildid}.jar"
70     "org.eclipse.m2e.scm_${pkgver}.${buildid}.jar"
71     "org.eclipse.m2e.tests.common_${pkgver}.${buildid}.jar"
72     "org.eclipse.m2e.usagedata_${pkgver}.${buildid}.jar"
73     "org.jboss.netty_3.2.4.Final-201108040830.jar"
74     "org.slf4j.api_1.6.1.v20100831-0715.jar")
76 md5sums=('6bf13f83a7a3f2b8c491270aeefb5f6b'
77     '37bccf28bce1dcef9f4540e8e01686c1'
78     '8d0b688248d711771e60280d4d8bf659'
79     'bff8f0d6f49d131f614f2441d2c6d69e'
80     '69162975a449075c8fc9eccac2638112'
81     'b995126e31a0ff3dfd7d7633e00e1c04'
82     '776ff672bb28214e746db8f94cb2afe7'
83     '62ecc41491ac7529974264d24607f1da' 
84     '79c55c1a6088fc59f92b45e3ef97de5e'
85     'ccdef4ff8494d13bb21d0dec313c61e9'
86     '240b6265e9d861720cc81869b099e4e4'
87     '1f7ce11f23627c789f77f7749a117bd6'
88     '7ea89cf9096732d08b42b56defb6ea34'
89     '82ee72b3ab61441929c9ad730c768ca7'
90     '123c7c6d68809c8caef0a25e8d549437'
91     '01625534a6524aaf43a0727ff976a1a2'
92     'a053d4bb7d2183f361b05ccacefaf48f'
93     '4f2d6991b69d38193e5d81dbd49fe90d'
94     'df9e3e999b15cc8b77a85dca5e015285'
95     'd21d6ceddf4714fca0ee7440f40a25ed'
96     '0f29d2c60549c9c5bef4a743883a189a'
97     'a0522b5430b238d928a3dad4fae4dcfc'
98     '43aa9c54b150f2f6f7dcd8e60ce241e3'
99     'aa11a94b408ee6f4629d6271b9c2951b'
100     '7ce2ae5451e44483c9b010ef1432fbbe'
101     'd2ce48feb4d119f6a84da7d1d2a87ea9'
102     '9a8a49c25f21182c7dac37e6db3f35a3'
103     'e517d72f1a3fccf27c943d024f3358de'
104     '0c1e50d58c936a6c258fd55c9036ba9e')
106 build() {
107   _dest=${pkgdir}/usr/share/eclipse/dropins/m2e/eclipse
109   for url in ${source[@]}
110   do 
111     _file="${url##*/}"
112     _type="${url%/*}"
113     _type="${_type##*/}"
115     install -dm755 ${_dest}/${_type}/${_file/.jar} 
116     cd ${_dest}/${_type}/${_file/.jar}
117     jar xf ${srcdir}/${_file} || return 1
118   done     
120 # vim:set ts=4 sw=4 et: