1 # Maintainer: Jamie Paton <jamie.paton@googlemail.com>
2 # Contributor: max-k <max-k@post.com>
4 if [ $(uname -m) = "x86_64" ] ; then
11 _majoralt="7.0.0-beta2"
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'
32 source=("http://downloads.activestate.com/Komodo/releases/${_major}/Komodo-IDE-${_majoralt}-${_minor}-linux-${_arch}.tar.gz")
34 if [ $_arch = "x86_64" ]
36 md5sums=('31363032a373a2a870d1e709056a6793')
38 md5sums=('fb91060e8833bdaefee7b76952a8f437')
42 cd ${startdir}/src/Komodo-IDE-${_majoralt}-${_minor}-linux-${_arch}
43 ./install.sh -s -I ${startdir}/pkg/opt/${pkgname}
44 sed -i 's/Komodo\ IDE-7.desktop/Komodo\ Edit\ 7/' ${startdir}/pkg/opt/${pkgname}/share/desktop/komodo-ide-7.desktop
45 grep -v ${startdir} ${startdir}/pkg/opt/${pkgname}/share/desktop/komodo-ide-7.desktop > ${startdir}/${pkgname}.desktop
46 echo "Exec=/opt/${pkgname}/bin/komodo %F" >> ${startdir}/${pkgname}.desktop
47 echo "Icon=/opt/${pkgname}/share/icons/komodo48.png" >> ${startdir}/${pkgname}.desktop
48 install -D -m 644 ${startdir}/${pkgname}.desktop ${startdir}/pkg/usr/share/applications/${pkgname}.desktop