public
Created

coffee-script-1.1.2 PKGBUILD

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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.