1 # Maintainer: Chris Chapman <chris dot chapman at aggiemail dot usu dot edu>
6 pkgdesc="Eclipse Plugin for ActionScript development"
10 depends=('eclipse-imp')
11 source=(components.url)
12 md5sums=('a24d1dc66aaddb18e32cbbb84fe7d2b6')
15 _dest=${pkgdir}/usr/share/eclipse/dropins/axdt/eclipse
16 _weburl="http://update.axdt.org/"
18 cat components.url | while read _ctype _cname ; do
21 msg "Downloading feature ${_cname}..."
23 wget -nc "${_weburl}/features/${_cname}" || return 1
24 install -dm755 ${_dest}/features/${_cname/.jar}
25 cd ${_dest}/features/${_cname/.jar}
26 jar xf ${srcdir}/${_cname} || return 1
29 msg "Downloading plugin ${_cname}..."
31 wget -nc "${_weburl}/plugins/${_cname}" || return 1
32 install -dm755 ${_dest}/plugins
33 install -m644 ${srcdir}/${_cname} ${_dest}/plugins
36 msg "Downloading and unpacking plugin ${_cname}..."
38 wget -nc "${_weburl}/plugins/${_cname}" || return 1
39 install -dm755 ${_dest}/plugins/${_cname/.jar}
40 cd ${_dest}/plugins/${_cname/.jar}
41 jar xf ${srcdir}/${_cname} || return 1
44 error "Unknown jar type..."