summaryrefslogtreecommitdiff
path: root/desktop/faenza-icon-theme
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-04-07 17:46:29 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-19 10:52:21 +0700
commite9f90125085ec809bf222656318a19565da0b455 (patch)
treedd8ba249adac2930d6e38cc0d435b492d9ed45c0 /desktop/faenza-icon-theme
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>
Diffstat (limited to 'desktop/faenza-icon-theme')
-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}