Guest User

Untitled

a guest
Jan 19th, 2011
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.69 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment