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

PKGBUILD

By: a guest on Sep 17th, 2012  |  syntax: None  |  size: 1.22 KB  |  views: 10  |  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: Igor Dejanovic <igor.dejanovic (at) gmail.com>
  2. # Contributor: Igor Dejanovic <igor.dejanovic (at) gmail.com>
  3.  
  4. pkgname=eclipse-mercurial
  5. pkgver=2.0.0
  6. _pkgver=201208160020
  7. pkgrel=1
  8. arch=('i686' 'x86_64')
  9. pkgdesc="Eclipse plugin for Mercurial Version Control System"
  10. license=('EPL')
  11. url="https://code.google.com/a/eclipselabs.org/p/mercurialeclipse/"
  12. depends=('eclipse>=3.4' 'mercurial')
  13. source=("http://mercurialeclipse.eclipselabs.org.codespot.com/files/com.vectrace.MercurialEclipse_$pkgver.$_pkgver.jar"
  14.     "http://mercurialeclipse.eclipselabs.org.codespot.com/hg.wiki/update_site/stable/features/mercurialeclipse_$pkgver.$_pkgver.jar")
  15. noextract=("com.vectrace.MercurialEclipse_$pkgver.$_pkgver.jar"
  16.        "mercurialeclipse_$pkgver.$_pkgver.jar")
  17.          
  18. package() {
  19.     install_dir=${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse
  20.     mkdir -p $install_dir/{features,plugins}
  21.  
  22.     install -m644 ${srcdir}/mercurialeclipse_$pkgver.$_pkgver.jar $install_dir/features/ || return 1
  23.     install -m644 ${srcdir}/com.vectrace.MercurialEclipse_$pkgver.$_pkgver.jar $install_dir/plugins/ || return 1    
  24. }
  25.  
  26.  
  27. md5sums=('226f240115f6f4eed040e920b95ff4b4'
  28.          '11637a01b5ffac1166da3f367ebe0116')