mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/nodejs-less-plugin-clean-css: new aport
This commit is contained in:
parent
840ed0fa2f
commit
c2cf138ea5
26
testing/nodejs-less-plugin-clean-css/APKBUILD
Normal file
26
testing/nodejs-less-plugin-clean-css/APKBUILD
Normal file
@ -0,0 +1,26 @@
|
||||
# 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=0
|
||||
pkgdesc="Post-process and compress CSS using clean-css"
|
||||
url="https://github.com/less/less-plugin-clean-css"
|
||||
arch="noarch !mips !mips64" # 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
|
||||
chown -R root "$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="3dcebc0051c01093b7680a11be75135b9880880bfacbe4d0b162d34f054daa38839e8eb10afc73d40b5f425ed8d0c652a473da9456a3335114e1107951520da7 less-plugin-clean-css-1.5.1.tgz"
|
||||
Loading…
x
Reference in New Issue
Block a user