1 # Maintainer: Ignacio Galmarino <igalmarino@gmail.com>
3 pkgname=springsource-tool-suite
6 _eclipse_pkgver_short=e3.7
8 pkgdesc="SpringSource Tool Suite"
10 url="http://www.springsource.com/developer/sts"
11 depends=('java-environment' 'gtk2' 'unzip' 'libwebkit')
12 install=${pkgname}.install
15 source=("http://download.springsource.com/release/STS/${pkgver}/dist/${_eclipse_pkgver_short}/${pkgname}-${pkgver}.RELEASE-${_eclipse_pkgver}-linux-gtk.tar.gz"
18 md5sums=('7b205678bd01a61cb8456ff75946cfd8'
19 'bd1da8bceeb4ae06cdd85759ed654982'
20 '9bbe43942c2cad54ca467ff5bebde8e9')
21 [ "$CARCH" = "x86_64" ] && source[0]="http://download.springsource.com/release/STS/${pkgver}/dist/${_eclipse_pkgver_short}/${pkgname}-${pkgver}.RELEASE-${_eclipse_pkgver}-linux-gtk-x86_64.tar.gz"
22 [ "$CARCH" = "x86_64" ] && md5sums[0]='7b205678bd01a61cb8456ff75946cfd8'
25 cd "${srcdir}/springsource"
28 install -m755 -d "${pkgdir}/opt"
29 mv "${srcdir}/springsource" "${pkgdir}/opt/springsource"
32 install -d ${pkgdir}/usr/bin ${pkgdir}/usr/share/applications
33 install -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/"
34 ln -s "/opt/springsource/sts-${pkgver}.RELEASE/STS" ${pkgdir}/usr/bin/STS
37 install -Dm644 ${srcdir}/${pkgname}.xpm ${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.xpm