Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD komodoedit 6.1.3_8844-2

By: a guest on Oct 16th, 2011  |  syntax: Bash  |  size: 1.49 KB  |  views: 31  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. 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. # Contributor: max-k <max-k@post.com>
  3.  
  4. if [ $(uname -m) = "x86_64" ] ; then
  5. _arch="x86_64"
  6. else
  7. _arch="x86"
  8. fi
  9.  
  10. _major="6.1.3"
  11. _minor=8844
  12.  
  13. pkgname="komodoedit"
  14. pkgver="${_major}_${_minor}"
  15. pkgrel=2
  16. pkgdesc="Open-Source version of ActiveState Komodo IDE - Based on XUL"
  17. arch=(i686 x86_64)
  18. url="http://www.activestate.com/komodo-edit"
  19. license=('MPL')
  20. depends=('glibc>=2.4' 'libjpeg>=6.2' 'gcc-libs' 'gtk2' 'xterm')
  21. optdepends=()
  22. conflicts=('komodoedit-nightly' 'komodoedit-beta')
  23.  
  24. source=("http://downloads.activestate.com/Komodo/releases/${_major}/Komodo-Edit-${_major}-${_minor}-linux-libcpp6-${_arch}.tar.gz")
  25.  
  26. if [ $_arch = "x86_64" ] ; then
  27. md5sums=('02f8939ed0352460d758b5d71637f200')
  28. else
  29. md5sums=('45949b817819b9e4dd02b5e3070de03d')
  30. fi
  31.  
  32. build() {
  33. cd ${srcdir}/Komodo-Edit-${_major}-${_minor}-linux-libcpp6-${_arch}
  34. ./install.sh -s -I ${pkgdir}/opt/${pkgname}
  35. sed -i 's/Komodo\ Edit-6.desktop/Komodo\ Edit\ 6/' ${pkgdir}/opt/${pkgname}/share/desktop/komodo-edit-6.desktop
  36. grep -v ${srcdir} ${pkgdir}/opt/${pkgname}/share/desktop/komodo-edit-6.desktop > ${srcdir}/${pkgname}.desktop
  37. echo "Exec=/opt/${pkgname}/bin/komodo %F" >> ${srcdir}/${pkgname}.desktop
  38. echo "Icon=/opt/${pkgname}/share/icons/komodo128.png" >> ${srcdir}/${pkgname}.desktop
  39. install -D -m 644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
  40. install -d "${pkgdir}/usr/bin"
  41. ln -s "/opt/${pkgname}/bin/komodo" "${pkgdir}/usr/bin/komodo"
  42. }
  43.  
  44.  
  45.  
  46.  
clone this paste RAW Paste Data