Moved from [community]
This commit is contained in:
commit
e6cc6d96cb
2 changed files with 39 additions and 0 deletions
17
.SRCINFO
Normal file
17
.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
PKGBUILD
Normal file
22
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