1 # Maintainer: Jamie Paton <jamie.paton@googlemail.com>
2 # Contributor: max-k <max-k@post.com>
4 if [ $(uname -m) = "x86_64" ] ; then
15 pkgname="komodo-ide-testing"
16 pkgver="${_major}_${_minor}"
18 pkgdesc="ActiveState Komodo IDE"
20 url="http://www.activestate.com/komodo-ide"
22 depends=('glibc>=2.4' 'libjpeg>=6.2' 'gcc-libs' 'gtk2')
23 optdepends=('php: PHP debugging'
24 'ruby: Ruby debugging'
25 'python2: Python 2.x debugging'
26 'python: Python 3.x debugging'
27 'git: Git SCC integration'
28 'subversion: SVN SCC integration'
29 'nodejs: Node.js debugging'
34 source=("http://downloads.activestate.com/Komodo/releases/${_major}/Komodo-IDE-${_majoralt}-${_minor}-linux-${_arch}.tar.gz")
36 if [ $_arch = "x86_64" ]
38 md5sums=('061f26e7f040dfc0d048a684e0af50c0')
40 md5sums=('aba78863a1c7e9afb8690409a427b88d')
44 cd ${startdir}/src/Komodo-IDE-${_majoralt}-${_minor}-linux-${_arch}
45 ./install.sh -s -I ${startdir}/pkg/opt/${pkgname}
46 sed -i 's/Komodo\ IDE-7.desktop/Komodo\ Edit\ 7/' ${startdir}/pkg/opt/${pkgname}/share/desktop/komodo-ide-7.desktop
47 grep -v ${startdir} ${startdir}/pkg/opt/${pkgname}/share/desktop/komodo-ide-7.desktop > ${startdir}/${pkgname}.desktop
48 echo "Exec=/opt/${pkgname}/bin/komodo %F" >> ${startdir}/${pkgname}.desktop
49 echo "Icon=/opt/${pkgname}/share/icons/komodo48.png" >> ${startdir}/${pkgname}.desktop
50 install -D -m 644 ${startdir}/${pkgname}.desktop ${startdir}/pkg/usr/share/applications/${pkgname}.desktop