aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2021-08-02 11:44:31 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2021-08-02 18:11:28 +0000
commite33968068859af20b798fe49204bc6d7b76b6679 (patch)
treee01d385ccdae65ede0a97a34f6234ec6b72972a2
parent78b50694393f0fda187caed4c61e5e2edeebb180 (diff)
downloadaports-e33968068859af20b798fe49204bc6d7b76b6679.tar.gz
aports-e33968068859af20b798fe49204bc6d7b76b6679.tar.bz2
aports-e33968068859af20b798fe49204bc6d7b76b6679.tar.xz
community/uglify-js: remove node_modules/root folder
This conflicts with other packages
-rw-r--r--community/uglify-js/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/community/uglify-js/APKBUILD b/community/uglify-js/APKBUILD
index 1b1752cdf6..2a07b380f0 100644
--- a/community/uglify-js/APKBUILD
+++ b/community/uglify-js/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=uglify-js
pkgver=3.14.1
-pkgrel=0
+pkgrel=1
pkgdesc="JavaScript parser, mangler/compressor and beautifier toolkit"
url="https://lisperator.net/uglifyjs"
# mips64 and riscv64 blocked by nodejs
@@ -21,6 +21,7 @@ unpack() {
package() {
npm install -g --user root --prefix "$pkgdir/usr" "$srcdir/uglify-js-$pkgver.tgz"
+ find "$pkgdir/usr/lib/node_modules/root" -delete
chown -R root: "$pkgdir" # npm installs as build user
}