aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-04-07 21:34:21 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-19 10:52:23 +0700
commitfc9480a1d4a5eaaaa9597f5ba5a7bc9e1dd9783e (patch)
tree2f4acdad4e1ee7dc3bf9cf80d4bd208572335bb2 /desktop
parent2f4f5764f8e014973fe5b8733678f4be26ade725 (diff)
desktop/oranchelo-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/oranchelo-icon-theme/oranchelo-icon-theme.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/oranchelo-icon-theme/oranchelo-icon-theme.SlackBuild b/desktop/oranchelo-icon-theme/oranchelo-icon-theme.SlackBuild
index bad0cdfc9437..4d0aa66c747f 100644
--- a/desktop/oranchelo-icon-theme/oranchelo-icon-theme.SlackBuild
+++ b/desktop/oranchelo-icon-theme/oranchelo-icon-theme.SlackBuild
@@ -62,4 +62,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}