23 lines
719 B
Bash
23 lines
719 B
Bash
# Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
|
|
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com
|
|
|
|
pkgname=nodejs-less
|
|
pkgver=3.13.0
|
|
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=('0e2acc00d8a187b91a47da741e2cff656cbe0be2e2f63ce369ed5b2305a1b8ed')
|
|
|
|
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
|
|
}
|