From e22885a6a225aa6085a040e24f8670d46d0b6d2f Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 7 Apr 2020 21:18:16 -0400 Subject: desktop/meliae-icon-theme: Speed up build. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- desktop/meliae-icon-theme/meliae-icon-theme.SlackBuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/desktop/meliae-icon-theme/meliae-icon-theme.SlackBuild b/desktop/meliae-icon-theme/meliae-icon-theme.SlackBuild index 228087b0a3..f1879c6f0f 100644 --- a/desktop/meliae-icon-theme/meliae-icon-theme.SlackBuild +++ b/desktop/meliae-icon-theme/meliae-icon-theme.SlackBuild @@ -55,4 +55,11 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG +# 20200407 bkw: makepkg's symlink search and doinst.sh creation doesn't +# scale well. This makes the build complete much faster, and create an +# identical doinst.sh. +find . -type l \ + -printf '( cd %h ; rm -rf %f )\n( cd %h ; ln -sf %l %f )\n' -delete | \ + sed 's,cd \./,cd ,' >> $PKG/install/doinst.sh + /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} -- cgit v1.2.3