Add 'nodejs-less/' from commit 'e6cc6d96cb988b80aaec68c9d7fb1a2593eb0af6'
git-subtree-dir: nodejs-less git-subtree-mainline:5db514a017
git-subtree-split:e6cc6d96cb
This commit is contained in:
commit
05dcb47260
2 changed files with 39 additions and 0 deletions
17
nodejs-less/.SRCINFO
Normal file
17
nodejs-less/.SRCINFO
Normal file
|
@ -0,0 +1,17 @@
|
|||
pkgbase = nodejs-less
|
||||
pkgdesc = A standalone compiler for the LESS CSS language.
|
||||
pkgver = 3.12.2
|
||||
pkgrel = 1
|
||||
url = http://lesscss.org/
|
||||
arch = any
|
||||
license = Apache
|
||||
makedepends = npm
|
||||
depends = nodejs
|
||||
provides = lessc=3.12.2
|
||||
conflicts = lessc
|
||||
replaces = lessc
|
||||
source = https://registry.npmjs.org/less/-/less-3.12.2.tgz
|
||||
sha256sums = c11a81e671deba197149e5c08ad0762b4b402c37274ced94c0e360c36af91be3
|
||||
|
||||
pkgname = nodejs-less
|
||||
|
22
nodejs-less/PKGBUILD
Normal file
22
nodejs-less/PKGBUILD
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
|
||||
|
||||
pkgname=nodejs-less
|
||||
pkgver=3.12.2
|
||||
pkgrel=1
|
||||
pkgdesc="A standalone compiler for the LESS CSS language."
|
||||
arch=('any')
|
||||
url="http://lesscss.org/"
|
||||
license=('Apache')
|
||||
depends=('nodejs')
|
||||
makedepends=('npm')
|
||||
conflicts=('lessc')
|
||||
provides=("lessc=$pkgver")
|
||||
replaces=('lessc')
|
||||
source=("https://registry.npmjs.org/less/-/less-$pkgver.tgz")
|
||||
sha256sums=('c11a81e671deba197149e5c08ad0762b4b402c37274ced94c0e360c36af91be3')
|
||||
|
||||
package() {
|
||||
npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/less-$pkgver.tgz
|
||||
chmod -R go-w "$pkgdir"/usr
|
||||
chown -R root:root "$pkgdir"/usr
|
||||
}
|
Loading…
Reference in a new issue