2020-06-13 11:38:56 +00:00

27 lines
816 B
Plaintext

# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=nodejs-less
pkgver=3.11.2
pkgrel=0
pkgdesc="A standalone compiler for the LESS CSS language"
url="https://lesscss.org"
arch="noarch !mips !mips64" # blocked by nodejs
license="AGPL-3.0-or-later"
depends="nodejs"
makedepends="npm"
source="https://registry.npmjs.org/less/-/less-$pkgver.tgz"
options="!check"
builddir="$srcdir/package"
unpack() {
# skipping unpacking, installing archive directly
verify
}
package() {
npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/less-$pkgver.tgz
chown -R root "$pkgdir"
}
sha512sums="79df0b8abf7c4eee9af8b794efef1286944b494764fff9567f5b21fb9c3bb4d8eee30188b73b6a0c7a74dd9f9ada8d67cd4ea939b571c359f81aeed5cd062eb1 less-3.11.2.tgz"