1 # Contributor: industrie13 <industrie13@post.com>
3 if [ $(uname -m) = "x86_64" ] ; then
12 _separator1="_" #if $_state is set (eg. alpha1 or beta2), $_separator1 must be set to "_", else it must *not* be set.
13 _separator2="-" #if $_state is set (eg. alpha1 or beta2), $_separator2 must be set to "-", else it must *not* be set.
20 pkgname="komodoedit-beta"
21 pkgver="${_major}_${_state}${_separator1}${_minor}"
23 pkgdesc="Open-Source version of ActiveState Komodo IDE - Based on XUL"
25 url="http://www.openkomodo.com/"
28 conflicts=('komodoedit' 'komodoedit-nightly')
30 source=("http://downloads.activestate.com/Komodo/releases/6.0.0b3/Komodo-Edit-${_major}-${_state}${_separator2}${_minor}-linux-libcpp6-${_arch}.tar.gz")
32 if [ $_arch = "x86_64" ] ; then
33 md5sums=('016148dc3f1e3c761a6383330d00d69f')
35 md5sums=('4a052361b7c301cf99a0fcc0860f1a61')
39 cd ${startdir}/src/Komodo-Edit-${_major}-${_state}${_separator2}${_minor}-linux-libcpp6-${_arch}
40 ./install.sh -s -I ${startdir}/pkg/opt/${pkgname}
41 grep -v ${startdir} ${startdir}/pkg/opt/${pkgname}/share/desktop/Komodo-Edit-6.desktop > ${startdir}/${pkgname}.desktop
42 echo "Exec=/opt/${pkgname}/bin/komodo %F" >> ${startdir}/${pkgname}.desktop
43 echo "Icon=/opt/${pkgname}/share/icons/komodo16.png" >> ${startdir}/${pkgname}.desktop
44 install -D -m 644 ${startdir}/${pkgname}.desktop ${startdir}/pkg/usr/share/applications/${pkgname}.desktop