1 # Maintainer: Yumi Nanako <leroylim /at\ yuminanako /dot\ info>
7 pkgver="${_major}_${_minor}"
9 pkgdesc="Proprietary version of ActiveState Komodo IDE"
10 arch=('i686' 'x86_64')
11 url="http://www.activestate.com/komodo/"
12 license=('custom:komodoide')
13 depends=('python' 'glibc>=2.4' 'gcc-libs' 'gtk2')
14 install=komodoide.install
17 if [ "$CARCH" = "i686" ]; then
19 md5sums=('5a48d97babf5c93f7b666449b7fb353a')
20 elif [ "$CARCH" = "x86_64" ]; then
22 md5sums=('46c4123133b7bd6701d3fe6e61b2a588')
25 source=("http://downloads.activestate.com/Komodo/releases/${_major}/Komodo-IDE-${_major}-${_minor}-linux-libcpp6-${_arch}.tar.gz")
29 cd ${srcdir}/Komodo-IDE-${_major}-${_minor}-linux-libcpp6-${_arch}
30 ./install.sh -s -I ${pkgdir}/opt/${pkgname}
31 grep -v ${startdir} ${pkgdir}/opt/${pkgname}/share/desktop/komodo-ide-6.desktop > ${startdir}/${pkgname}.desktop
32 echo "Exec=/opt/${pkgname}/bin/komodo %F" >> ${startdir}/${pkgname}.desktop
33 echo "Icon=/opt/${pkgname}/share/icons/komodo16.png" >> ${startdir}/${pkgname}.desktop
34 install -D -m 644 ${startdir}/${pkgname}.desktop ${startdir}/pkg/usr/share/applications/${pkgname}.desktop
35 install -D -m 644 ${pkgdir}/opt/komodoide/share/doc/license.txt ${pkgdir}/usr/share/licenses/komodoide/license.txt