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-edit-testing"
16 pkgver="${_major}_${_minor}"
18 pkgdesc="ActiveState Komodo Edit - Developer Preview Release"
20 url="http://www.activestate.com/komodo-edit"
22 depends=('glibc>=2.4' 'libjpeg>=6.2' 'gcc-libs' 'gtk2')
28 source=("http://downloads.activestate.com/Komodo/releases/${_major}/Komodo-Edit-${_majoralt}-${_minor}-linux-${_arch}.tar.gz")
30 if [ $_arch = "x86_64" ]
32 md5sums=('56e601c254e26df1d58a3feb8babe39d')
34 md5sums=('eb65d6416cc7cc96f4ca3d1e5a3c84a6')
38 cd ${startdir}/src/Komodo-Edit-${_majoralt}-${_minor}-linux-${_arch}
39 ./install.sh -s -I ${startdir}/pkg/opt/${pkgname}
40 sed -i 's/Komodo\ Edit-7.desktop/Komodo\ Edit\ 7/' ${startdir}/pkg/opt/${pkgname}/share/desktop/komodo-edit-7.desktop
41 grep -v ${startdir} ${startdir}/pkg/opt/${pkgname}/share/desktop/komodo-edit-7.desktop > ${startdir}/${pkgname}.desktop
42 echo "Exec=/opt/${pkgname}/bin/komodo %F" >> ${startdir}/${pkgname}.desktop
43 echo "Icon=/opt/${pkgname}/share/icons/komodo48.png" >> ${startdir}/${pkgname}.desktop
44 install -D -m 644 ${startdir}/${pkgname}.desktop ${startdir}/pkg/usr/share/applications/${pkgname}.desktop