diff options
author | B. Watson <yalhcru@gmail.com> | 2020-04-07 18:26:19 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-04-19 10:52:22 +0700 |
commit | ebae657423ce24466d197b685487e4e7b6d38bfa (patch) | |
tree | 263a1367cd6195118110a5fcbb82bfc527f52ef8 /desktop | |
parent | 8eb9ebf0e9eaeb3239b06ddff34b11ad4526ed0f (diff) |
desktop/Zafiro-icons: 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/Zafiro-icons/Zafiro-icons.SlackBuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/Zafiro-icons/Zafiro-icons.SlackBuild b/desktop/Zafiro-icons/Zafiro-icons.SlackBuild index 82daa4f6b3ec..b29e706017e9 100644 --- a/desktop/Zafiro-icons/Zafiro-icons.SlackBuild +++ b/desktop/Zafiro-icons/Zafiro-icons.SlackBuild @@ -63,4 +63,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} |