1 # Maintainer: Jamie Paton <jamie.paton@googlemail.com>
2 # Contributor: max-k <max-k@post.com>
4 if [ $(uname -m) = "x86_64" ] ; then
14 pkgver="${_major}_${_minor}"
16 pkgdesc="ActiveState Komodo IDE"
18 url="http://www.activestate.com/komodo-ide"
20 depends=('glibc>=2.4' 'libjpeg>=6.2' 'gcc-libs' 'gtk2')
21 optdepends=('php: PHP debugging'
22 'ruby: Ruby debugging'
23 'git: Git SCC integration'
24 'subversion: SVN SCC integration'
30 source=("http://downloads.activestate.com/Komodo/releases/${_major}/Komodo-IDE-${_major}-${_minor}-linux-libcpp6-${_arch}.tar.gz")
32 if [ $_arch = "x86_64" ] ; then
33 md5sums=('eaa0086dedca656642fc924a64c0f927')
35 md5sums=('c64b4bcf9f331c1519cce61686941953')
39 cd ${startdir}/src/Komodo-IDE-${_major}-${_minor}-linux-libcpp6-${_arch}
40 ./install.sh -s -I ${startdir}/pkg/opt/${pkgname}
41 sed -i 's/Komodo\ IDE-6.desktop/Komodo\ Edit\ 6/' ${startdir}/pkg/opt/${pkgname}/share/desktop/komodo-ide-6.desktop
42 grep -v ${startdir} ${startdir}/pkg/opt/${pkgname}/share/desktop/komodo-ide-6.desktop > ${startdir}/${pkgname}.desktop
43 echo "Exec=/opt/${pkgname}/bin/komodo %F" >> ${startdir}/${pkgname}.desktop
44 echo "Icon=/opt/${pkgname}/share/icons/komodo48.png" >> ${startdir}/${pkgname}.desktop
45 install -D -m 644 ${startdir}/${pkgname}.desktop ${startdir}/pkg/usr/share/applications/${pkgname}.desktop