summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2020-04-07 23:46:29 +0200
committer Willy Sudiarto Raharjo2020-04-19 05:52:21 +0200
commite9f90125085ec809bf222656318a19565da0b455 (patch)
treedd8ba249adac2930d6e38cc0d435b492d9ed45c0
parent0997ccc16727c47143a5a0b6ad2b4879a23cb72d (diff)
downloadslackbuilds-e9f90125085ec809bf222656318a19565da0b455.tar.gz
desktop/faenza-icon-theme: Speed up build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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}