summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2020-04-07 18:31:40 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-19 10:52:22 +0700
commit1c62d852c91e109869fc494b05f85e8300bdbdcc (patch)
tree651c881b2d840808bebb20ee5bc16c84cdd725a0 /desktop
parentebae657423ce24466d197b685487e4e7b6d38bfa (diff)
downloadslackbuilds-1c62d852c91e109869fc494b05f85e8300bdbdcc.tar.gz
slackbuilds-1c62d852c91e109869fc494b05f85e8300bdbdcc.tar.xz
desktop/arc-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')
-rw-r--r--desktop/arc-icon-theme/arc-icon-theme.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/arc-icon-theme/arc-icon-theme.SlackBuild b/desktop/arc-icon-theme/arc-icon-theme.SlackBuild
index 2f31ea3c97..9b44a7f52d 100644
--- a/desktop/arc-icon-theme/arc-icon-theme.SlackBuild
+++ b/desktop/arc-icon-theme/arc-icon-theme.SlackBuild
@@ -74,4 +74,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}