updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / komodoide / PKGBUILD
blob8a8b68439cbedf3a48b78b497600119adc14570b
1 # Maintainer: Yumi Nanako <leroylim /at\ yuminanako /dot\ info>
3 _major="6.0.1"
4 _minor="57903"
6 pkgname=komodoide
7 pkgver="${_major}_${_minor}"
8 pkgrel=1
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
18         _arch="x86"
19         md5sums=('5a48d97babf5c93f7b666449b7fb353a')
20 elif [ "$CARCH" = "x86_64" ]; then
21         _arch="x86_64"
22         md5sums=('46c4123133b7bd6701d3fe6e61b2a588')
25 source=("http://downloads.activestate.com/Komodo/releases/${_major}/Komodo-IDE-${_major}-${_minor}-linux-libcpp6-${_arch}.tar.gz")
28 build() {
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