1 # Maintainer: Jacob Courtneay <jacob@sporkexec.com>
5 pkgdesc="A standalone compiler for the LeSS css language."
7 url="http://lesscss.org/"
12 _gitroot="git://github.com/cloudhead/less.js.git"
16 rm -rf "$srcdir/$_gitname"
18 git clone $_gitroot --depth=1
19 cd "$srcdir/$_gitname"
20 make clean || return 1
25 install -d "$pkgdir/usr/lib/node"
26 install -d "$pkgdir/usr/bin"
27 cp -r "$srcdir/$_gitname/lib/less" "$pkgdir/usr/lib/node/less"
28 ln -s "node/less" "$pkgdir/usr/lib/less"
29 cp "$srcdir/$_gitname/bin/lessc" "$pkgdir/usr/bin/lessc"