1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/nodejs-clean-css/APKBUILD
Carlo Landmeter 525c8148a7 community various: disable on riscv64
missing nodejs
2021-06-30 19:25:51 +00:00

28 lines
871 B
Text

# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=nodejs-clean-css
pkgver=5.1.2
pkgrel=0
pkgdesc="A fast, efficient, and well tested CSS minifier for nodejs"
url="https://github.com/jakubpawlowicz/clean-css"
arch="noarch !mips !mips64 !riscv64" # blocked by nodejs
license="MIT"
depends="nodejs"
makedepends="npm"
source="https://registry.npmjs.org/clean-css/-/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"/clean-css-$pkgver.tgz
chown -R root "$pkgdir"
}
sha512sums="
41c68683d3ae328fb40ecf77df22ce63e8073d66f1871a85d070dec664e83dff29733be6bd9198cddf90a96a7dfe692e70038a56223e75214eaa8648bd76de07 clean-css-5.1.2.tgz
"