summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 578c64f940aeb2cfe3cdae7c143cd9c162479c74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Contributor: Bruno Galeotti <bgaleotti at gmail dot com>
_npmname=uglifycss
pkgname=nodejs-uglifycss
pkgver=0.0.29
pkgrel=2
pkgdesc="Port of YUI CSS Compressor from Java to NodeJS."
arch=('any')
url="https://github.com/fmarcia/UglifyCSS"
license=('MIT')
depends=('nodejs')
makedepends=('npm')
source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
noextract=($_npmname-$pkgver.tgz)
package() {
  cd $srcdir
  local _npmdir="$pkgdir/usr/lib/node_modules/"
  mkdir -p $_npmdir
  cd $_npmdir
  npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver
}
sha1sums=('abe49531155d146e75dd2fdf933d371bc1180054')
# vim:set ts=2 sw=2 et: