Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD

By: a guest on Mar 4th, 2012  |  syntax: None  |  size: 0.91 KB  |  views: 95  |  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: Alexsandr Pavlov <kidoz at mail dot ru>
  2. pkgname=eclipse-avr
  3. pkgver=2.4.0
  4. pkgrel=1
  5. pkgdesc="AVR Plugin for Eclipse"
  6. arch=('i686' 'x86_64')
  7. url="http://avr-eclipse.sourceforge.net/wiki/index.php/The_AVR_Eclipse_Plugin"
  8. license=("GPL")
  9. #depends=('eclipse' 'eclipse-cdt' 'gcc-avr' 'avr-libc' 'avrdude')
  10. depends=()
  11. makedepends=('unzip')
  12. source=(http://netcologne.dl.sourceforge.net/project/avr-eclipse/avr-eclipse%20beta%20versions/avreclipse.2.4.0.beta.p2repository.zip)
  13. noextract=("avreclipse.2.4.0.beta.p2repository.zip")
  14. md5sums=('6ee5948ff7539c0349de722309f859dc')
  15.  
  16. build() {
  17.   installdir=$startdir/pkg/usr/share/eclipse/dropins
  18.  
  19.   cd $startdir/src || return 1
  20.   unzip avreclipse.2.4.0.beta.p2repository.zip || return 1
  21.  
  22.   mkdir -p $installdir/eclipse || return 1
  23.   cp -a $startdir/src/features $installdir/eclipse || return 1
  24.   cp -a $startdir/src/plugins $installdir/eclipse || return 1
  25. }
clone this paste RAW Paste Data