summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-04-07 21:16:45 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-19 10:52:23 +0700
commit6168a7c06e88c3fa0d4a53b16a7383de3077f9b7 (patch)
tree0457267159bf20f188d414b7b61699e86cfc2cf8
parentea7d6bac1eabdc0a758be1aa7e4ac9e9d955b194 (diff)
downloadslackbuilds-6168a7c06e88c3fa0d4a53b16a7383de3077f9b7.tar.gz
desktop/kfaenza-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/kfaenza-icon-theme/kfaenza-icon-theme.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/kfaenza-icon-theme/kfaenza-icon-theme.SlackBuild b/desktop/kfaenza-icon-theme/kfaenza-icon-theme.SlackBuild
index b5d232a22d..c6767a1b83 100644
--- a/desktop/kfaenza-icon-theme/kfaenza-icon-theme.SlackBuild
+++ b/desktop/kfaenza-icon-theme/kfaenza-icon-theme.SlackBuild
@@ -61,4 +61,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}