Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Dec 16th, 2011  |  syntax: Bash  |  size: 0.95 KB  |  hits: 51  |  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: Simon Lipp <aur@simon.lipp.name>
  2. # Contributor: Chris Bolton <http://scr.im/chris-kun>
  3. # Contributor: Sergei Lebedev <superbobry at gmail dot com>
  4.  
  5. pkgname=coffee-script
  6. pkgver=1.1.3
  7. pkgrel=1
  8. pkgdesc='CoffeeScript is a little language that compiles into JavaScript.'
  9. arch=any
  10. url=http://coffeescript.org
  11. license=(custom)
  12. depends=(nodejs)
  13. source=(https://github.com/jashkenas/coffee-script/tarball/$pkgver)
  14. md5sums=('0919b917f0c1bda3bbac218b2a9baf48')
  15.  
  16. build() {
  17.   cd $srcdir/jashkenas-coffee-script-*
  18.  
  19.   install -dm755 $pkgdir/usr/bin &&
  20.   bin/cake --prefix $pkgdir/usr install &&
  21.    
  22.   install -Dm644 LICENSE $pkgdir/usr/share/licenses/${pkgname}/LICENSE &&
  23.   install -Dm644 README $pkgdir/usr/share/doc/${pkgname}/README &&
  24.  
  25.   rm -rf $pkgdir/usr/bin/cake $pkgdir/usr/bin/coffee &&
  26.   ln -s /usr/lib/coffee-script/bin/coffee $pkgdir/usr/bin/coffee &&
  27.   ln -s /usr/lib/coffee-script/bin/cake $pkgdir/usr/bin/cake || return 1
  28. }