This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD Komodo Edit 6.0.3

By: a guest on Dec 14th, 2010  |  syntax: None  |  size: 1.43 KB  |  views: 85  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: max-k <max-k@post.com>
  2.  
  3. if [ $(uname -m) = "x86_64" ] ; then
  4. _arch="x86_64"
  5. else
  6. _arch="x86"
  7. fi
  8.  
  9. _major="6.0.3"
  10. _minor=6811
  11.  
  12. pkgname="komodoedit"
  13. pkgver="${_major}_${_minor}"
  14. pkgrel=1
  15. pkgdesc="Open-Source version of ActiveState Komodo IDE - Based on XUL"
  16. arch=('i686' 'x86_64')
  17. url="http://www.activestate.com/komodo-edit/downloads"
  18. license=('MPL')
  19. depends=('glibc>=2.4' 'libjpeg>=6.2' 'gcc-libs' 'gtk2')
  20. optdepends=('python: to run what you code')
  21. conflicts=('komodoedit-nightly' 'komodoedit-beta')
  22.  
  23. source=("http://downloads.activestate.com/Komodo/releases/${_major}/Komodo-Edit-${_major}-${_minor}-linux-libcpp6-${_arch}.tar.gz")
  24.  
  25. if [ $_arch = "x86_64" ] ; then
  26. md5sums=('bfb8a79fc6c14ef4eb890f4fe1bf9ab4')
  27. else
  28. md5sums=('b8f854f473b4e1dd2eb2a0802d45fbb3')
  29. fi
  30.  
  31. build() {
  32. cd ${startdir}/src/Komodo-Edit-${_major}-${_minor}-linux-libcpp6-${_arch}
  33. ./install.sh -s -I ${startdir}/pkg/opt/${pkgname}
  34. sed -i 's/Komodo\ Edit-6.desktop/Komodo\ Edit\ 6/' ${startdir}/pkg/opt/${pkgname}/share/desktop/komodo-edit-6.desktop
  35. grep -v ${startdir} ${startdir}/pkg/opt/${pkgname}/share/desktop/komodo-edit-6.desktop > ${startdir}/${pkgname}.desktop
  36. echo "Exec=/opt/${pkgname}/bin/komodo %F" >> ${startdir}/${pkgname}.desktop
  37. echo "Icon=/opt/${pkgname}/share/icons/komodo48.png" >> ${startdir}/${pkgname}.desktop
  38. install -D -m 644 ${startdir}/${pkgname}.desktop ${startdir}/pkg/usr/share/applications/${pkgname}.desktop
  39. }
clone this paste RAW Paste Data