diff options
author | Mario Finelli | 2015-07-15 21:23:55 -0400 |
---|---|---|
committer | Mario Finelli | 2015-07-15 21:23:55 -0400 |
commit | ac1c965856539ac80c52a89df36c780e38eb019e (patch) | |
tree | 5235f55f3495f8c3f29c61a1e748c1b6ee9a6fe2 /PKGBUILD | |
download | aur-ac1c965856539ac80c52a89df36c780e38eb019e.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f85c8cbed6a4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Mario Finelli <mario dot finelli at yahoo dot com> + +_npmname=clean-css +pkgname=nodejs-$_npmname +pkgver=3.3.6 +pkgrel=1 +pkgdesc="A fast, efficient, and well tested CSS minifier for node.js." +arch=('any') +url="https://github.com/jakubpawlowicz/clean-css" +license=('MIT') +depends=('nodejs' 'npm') +source=(https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz) +noextract=($_npmname-$pkgver.tgz) +sha256sums=('1fab61238099df55cb389a701a9fe2fab1c4a87b32e2d3997af726e40b952eef') + +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 +} |