summaryrefslogtreecommitdiffstats
path: root/desktop/faenza-icon-theme/faenza-icon-theme.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/faenza-icon-theme/faenza-icon-theme.SlackBuild')
-rw-r--r--desktop/faenza-icon-theme/faenza-icon-theme.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/faenza-icon-theme/faenza-icon-theme.SlackBuild b/desktop/faenza-icon-theme/faenza-icon-theme.SlackBuild
index 114991a7f3..49c1d9b4e8 100644
--- a/desktop/faenza-icon-theme/faenza-icon-theme.SlackBuild
+++ b/desktop/faenza-icon-theme/faenza-icon-theme.SlackBuild
@@ -83,4 +83,8 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
+# 20200407 bkw: decrease build time from 9:43 to 0:24 on my test system.
+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}