mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 03:35:38 +03:00
29 lines
999 B
Text
29 lines
999 B
Text
# Contributor: Justin Berthault <justin.berthault@zaclys.net>
|
|
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
|
|
pkgname=nodejs-less-plugin-clean-css
|
|
pkgver=1.5.1
|
|
pkgrel=1
|
|
pkgdesc="Post-process and compress CSS using clean-css"
|
|
url="https://github.com/less/less-plugin-clean-css"
|
|
arch="noarch !mips !mips64 !riscv64" # blocked by nodejs
|
|
license="MIT"
|
|
depends="nodejs"
|
|
makedepends="npm nodejs-less nodejs-clean-css"
|
|
source="https://registry.npmjs.org/less-plugin-clean-css/-/less-plugin-clean-css-$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-plugin-clean-css-$pkgver.tgz
|
|
find "$pkgdir/usr/lib/node_modules/root" -delete
|
|
chown -R root "$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
3dcebc0051c01093b7680a11be75135b9880880bfacbe4d0b162d34f054daa38839e8eb10afc73d40b5f425ed8d0c652a473da9456a3335114e1107951520da7 less-plugin-clean-css-1.5.1.tgz
|
|
"
|