From 26c0aa2a34dae7b4ff2d9cb9f7b35ee2890bdfc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Wed, 29 Jul 2015 04:01:15 -0300 Subject: nodejs-grunt-cli: move to [libre] because it's required by jquery and jquery-ui --- libre/nodejs-grunt-cli/PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 libre/nodejs-grunt-cli/PKGBUILD (limited to 'libre/nodejs-grunt-cli') diff --git a/libre/nodejs-grunt-cli/PKGBUILD b/libre/nodejs-grunt-cli/PKGBUILD new file mode 100644 index 000000000..8ca0704b9 --- /dev/null +++ b/libre/nodejs-grunt-cli/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer (Arch): Mario Finelli +# Contributor (Arch): Andy Weidenbaum +# Contributor (Arch): Peter Wu + +_npmname=grunt-cli +pkgname=nodejs-$_npmname +pkgver=0.1.13 +pkgrel=3 +pkgdesc="The grunt command line interface" +arch=('any') +url="http://gruntjs.com/" +license=('MIT') +depends=('nodejs') +source=(https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz) +noextract=($_npmname-$pkgver.tgz) +md5sums=('fe47325c8b6f48d752c33c9ea57d9217') + +package() { + cd "$srcdir" + local _npmdir="$pkgdir/usr/lib/node_modules/" + mkdir -p "$_npmdir" + cd "$_npmdir" + npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$pkgver +} -- cgit v1.2.3-2-g168b