Created
November 6, 2011 05:42
-
-
Save dhedlund/1342529 to your computer and use it in GitHub Desktop.
coffee-script-1.1.2 PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Simon Lipp <[email protected]> | |
# 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 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment