Date: Wednesday, October 7, 2015 @ 11:32:40 Author: fyan Revision: 143265
addpkg: coffee-script 1.10.0-2 Added: coffee-script/ coffee-script/repos/ coffee-script/trunk/ coffee-script/trunk/PKGBUILD ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Added: coffee-script/trunk/PKGBUILD =================================================================== --- coffee-script/trunk/PKGBUILD (rev 0) +++ coffee-script/trunk/PKGBUILD 2015-10-07 09:32:40 UTC (rev 143265) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Felix Yan <[email protected]> +# Contributor: sloppybench <[email protected]> +# Contributor: der_FeniX <[email protected]> +# Contributor: Anatol Pomozov <[email protected]> +# Contributor: Gordin <9ordin @t gmail dot com> +# Contributor: Simon Lipp <[email protected]> +# Contributor: Chris Bolton <http://scr.im/chris-kun> +# Contributor: Sergei Lebedev <superbobry at gmail dot com> +# Contributor: flying sheep <[email protected]> + +pkgname=coffee-script +pkgver=1.10.0 +pkgrel=2 +pkgdesc='CoffeeScript is a little language that compiles into JavaScript' +arch=('any') +url='http://coffeescript.org' +license=('MIT') +depends=('nodejs') +makedepends=('npm') +options=('!emptydirs') +source=("https://github.com/jashkenas/coffeescript/archive/$pkgver.tar.gz") +sha256sums=('1747a315002e69c2d459c2e618ac51d13b383a37792f05bdab155b3c943d2ef2') + +package() { + local _npmdir="$pkgdir/usr/lib/node_modules/" + mkdir -p $_npmdir + cd $_npmdir + npm install -g --prefix "$pkgdir/usr" $pkgname@$pkgver + + chown -R root:root "$pkgdir" + mkdir -p "$pkgdir/usr/share/licenses/$pkgname" + ln -s "../../../lib/node_modules/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/" +} Property changes on: coffee-script/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
