Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jan 19th, 2011  |  syntax: Bash  |  size: 0.69 KB  |  hits: 90  |  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. Take this PKGBUILD:
  2.  
  3. pkgname=eclipse-subversive
  4. pkgver=0.7.9.I20101203
  5. pkgrel=1
  6. pkgdesc="Eclipse plug-in that provides Subversion support."
  7. arch=('i686' 'x86_64')
  8. url="http://www.eclipse.org/subversive/"
  9. license=('EPL')
  10. depends=('eclipse' 'eclipse-subversive-svn-connector-svnkit')
  11. source=(http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/technology/subversive/0.7/builds/Subversive-incubation-${pkgver}-1700.zip)
  12.  
  13. md5sums=('213f19c4ec523eba3e1000683a61eac3')
  14.  
  15. build() {
  16. _dest="${pkgdir}/usr/share/eclipse/dropins/${pkgname/eclipse-}/eclipse"
  17. cd "$srcdir"
  18.  
  19. install -d -m0755 $_dest/{features,plugins}
  20. cp -r {plugins,features}/ $_dest/
  21.  
  22. find $pkgdir -type f -exec chmod 0644 {} \;
  23. }