aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-04-07 20:25:52 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-19 10:52:22 +0700
commit5dfb6b4804ab2cb52cf50caa2c6aefca41807e2f (patch)
tree7e81d8d473cbb0ae390ef61d4d1bcd138ea9b39a
parent6194f6bb207d5d86b942c0fb8a10191c53e2b085 (diff)
desktop/faba-mono-icons: Speed up build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/faba-mono-icons/faba-mono-icons.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/faba-mono-icons/faba-mono-icons.SlackBuild b/desktop/faba-mono-icons/faba-mono-icons.SlackBuild
index 9ef88aa4bb82..1cf7fa136e96 100644
--- a/desktop/faba-mono-icons/faba-mono-icons.SlackBuild
+++ b/desktop/faba-mono-icons/faba-mono-icons.SlackBuild
@@ -65,4 +65,11 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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}