2020-12-18 13:50:43 +01:00
|
|
|
# Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
|
|
|
|
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com
|
2020-12-16 11:46:09 +01:00
|
|
|
|
|
|
|
pkgname=nodejs-less
|
2021-01-11 10:07:06 +01:00
|
|
|
pkgver=4.1.0
|
2020-12-16 11:46:09 +01:00
|
|
|
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")
|
2021-01-11 10:07:06 +01:00
|
|
|
sha256sums=('25652bd51ffe6d41510f22b8161844db9d2e4fa69cdebbd6a0c13b5a045a9e8f')
|
2020-12-16 11:46:09 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|