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

PKGBUILD for eclipse-subversive fixed

By: a guest on Jul 4th, 2011  |  syntax: Bash  |  size: 0.86 KB  |  views: 97  |  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. # Contributor: Jonathan Wiersma <archaur at jonw dot org>
  2. pkgname=eclipse-subversive
  3. pkgver=0.7.9.I20110523_1700
  4. pkgrel=2
  5. pkgdesc="Eclipse plug-in that provides Subversion support."
  6. arch=('any')
  7. url="http://www.eclipse.org/subversive/"
  8. license=('EPL')
  9. depends=('eclipse')
  10. source=(http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/technology/subversive/0.7/builds/Subversive-incubation-${pkgver/_/-}.zip)
  11.  
  12. package() {
  13.   _dest="${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse"
  14.  
  15.   # Features
  16.   cd "$srcdir"
  17.   find features -type f -name "*.jar" | while read feature ; do
  18.     install -d ${_dest}/${feature%\.jar}
  19.     cd ${_dest}/${feature%\.jar}
  20.     jar xf ${srcdir}/${feature}
  21.   done
  22.  
  23.   # Plugins
  24.   cd $srcdir
  25.   find plugins -type f -name "*.jar" -exec install -Dm644 {} ${_dest}/{} \;
  26. }
  27.  
  28. md5sums=('7c8ebd8f2d3648c5b7b15baf7a8e5e4d')