Thank you to anyone who has already donated - your generous donations helped make three months of treatment possible.

My brother Nate continues to fight stage IV Hodgkin's lymphoma. He's just 31, with a wife and baby girl. They have no active income (since he's been unable to return to work), no insurance, and cannot afford the treatment he needs. Nate and his family need your help. Please consider a donation, every dollar helps. Thanks.


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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Maintainer: Shanto <shanto@hotmail.com>
# Contributor: Shanto <shanto@hotmail.com>

pkgname=eclipse-aptana
pkgver=3.1.3
_pkgdate=201205292222
_pkgtag=7E7E787ICGPCYKWML6RQRHBZmz0R
pkgrel=1
pkgdesc="Aptana Studio plugin for Eclipse (HTML5/CSS3/JavaScript/Ruby/Rails/PHP/Pydev/Django)"
url="http://www.aptana.com/products/studio3"
arch=('any')
license=('EPL')
depends=('eclipse' 'libjpeg6-turbo' 'libpng12')
makedepends=('unzip')
conflicts=('eclipse-pydev')
provides=('eclipse-pydev')
# find current download link at:
# http://download.aptana.com/studio3/plugin/update/index.html
source=(http://d1iwq2e2xrohf.cloudfront.net/tools/studio/plugin/update/studio3/${pkgver}.${_pkgdate}/com.aptana.feature.studio-${pkgver}.${_pkgdate}-${_pkgtag}.zip)
md5sums=('a4eff3a9fbad185cf8c8eb85ba47725e')
options=('!strip')

build() {
	_dest=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse

	cd ${srcdir}
	
	# Cleanup
	find plugins/*.{win32,macosx}.* -delete

	# Features
	find features -type f | while read _feature ; do
	if [[ ${_feature} =~ (.*\.jar$) ]] ; then
		install -dm755 ${_dest}/${_feature%*.jar}
		cd ${_dest}/${_feature/.jar}
		jar xf ${srcdir}/${_feature}
	else
		install -Dm644 ${srcdir}/${_feature} ${_dest}/${_feature}
	fi
	done

	# Plugins
	#_extract_jar={com.aptana.{git,*libraries,parsing,terminal,swt.webkit}*,{com,org}.python.pydev*}
	_keep_as_jar="(.+/com\.aptana\.scripting_.+)"
	find plugins -type f | while read _plugin ; do
	if [[ ${_plugin} =~ (.*\.jar$) && ! ${_plugin} =~ $_keep_as_jar ]] ; then
		install -dm755 ${_dest}/${_plugin%*.jar}
		cd ${_dest}/${_plugin/.jar}
		jar xf ${srcdir}/${_plugin}
	else
		install -Dm644 ${srcdir}/${_plugin} ${_dest}/${_plugin}
	fi
	done
	
	find $_dest/plugins -name 'redtty' -exec chmod 0755 {} \;
}