aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Berthault <justin.berthault@zaclys.net>2021-05-27 18:44:49 +0200
committerLeo <thinkabit.ukim@gmail.com>2021-05-28 08:34:06 +0000
commit8f1dd87f97f6f4b01822c7fd2062dcfa32344cf8 (patch)
tree44683b916a7eb63fc92a7784dee2e3c1bb02f296
parent3b4cc231f366a8e5148f2ae1209045c50a133cd8 (diff)
community/nodejs-less-plugin-clean-css: remove root folder
root folder is shared among few nodejs packages, containing CI related stuff and leading to installation error.
-rw-r--r--community/nodejs-less-plugin-clean-css/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/community/nodejs-less-plugin-clean-css/APKBUILD b/community/nodejs-less-plugin-clean-css/APKBUILD
index 5342b74524f..1ec70070d47 100644
--- a/community/nodejs-less-plugin-clean-css/APKBUILD
+++ b/community/nodejs-less-plugin-clean-css/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=nodejs-less-plugin-clean-css
pkgver=1.5.1
-pkgrel=0
+pkgrel=1
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
@@ -20,7 +20,10 @@ unpack() {
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"
+sha512sums="
+3dcebc0051c01093b7680a11be75135b9880880bfacbe4d0b162d34f054daa38839e8eb10afc73d40b5f425ed8d0c652a473da9456a3335114e1107951520da7 less-plugin-clean-css-1.5.1.tgz
+"