aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2021-08-02 11:47:33 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2021-08-02 18:11:28 +0000
commitbc4a01512921164d435934fd07f7f5b3b5fe86c9 (patch)
tree04e8a1c787d64e1f7e473a734636bbdad993c2e2
parente33968068859af20b798fe49204bc6d7b76b6679 (diff)
downloadaports-bc4a01512921164d435934fd07f7f5b3b5fe86c9.tar.gz
aports-bc4a01512921164d435934fd07f7f5b3b5fe86c9.tar.bz2
aports-bc4a01512921164d435934fd07f7f5b3b5fe86c9.tar.xz
community/uglifycss: remove node_modules/root folder
This conflicts with other packages
-rw-r--r--community/uglifycss/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/community/uglifycss/APKBUILD b/community/uglifycss/APKBUILD
index 461c48f245..27e63c1bd5 100644
--- a/community/uglifycss/APKBUILD
+++ b/community/uglifycss/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
-pkgname="uglifycss"
-pkgver="0.0.29"
-pkgrel=0
+pkgname=uglifycss
+pkgver=0.0.29
+pkgrel=1
pkgdesc="Port of YUI CSS Compressor from Java to NodeJS"
url="http://github.com/fmarcia/UglifyCSS"
# mips64 and riscv64 blocked by nodejs
@@ -21,6 +21,7 @@ unpack() {
package() {
npm install -g --user root --prefix "$pkgdir/usr" "$srcdir/uglifycss-$pkgver.tgz"
+ find "$pkgdir/usr/lib/node_modules/root" -delete
chown -R root: "$pkgdir"
}