diff options
author | B. Watson <yalhcru@gmail.com> | 2020-04-07 18:34:32 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-04-19 10:52:22 +0700 |
commit | f0fb0bad0ae66cbb670b8e96cd78e0c3e6f90f3e (patch) | |
tree | 31104c1d83a29c5407b3ee0c77d02345c0560cc8 /desktop/areao43-icon-theme | |
parent | 1c62d852c91e109869fc494b05f85e8300bdbdcc (diff) |
desktop/areao43-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/areao43-icon-theme')
-rw-r--r-- | desktop/areao43-icon-theme/areao43-icon-theme.SlackBuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/areao43-icon-theme/areao43-icon-theme.SlackBuild b/desktop/areao43-icon-theme/areao43-icon-theme.SlackBuild index 7faaed76c7185..54092c5e6b75d 100644 --- a/desktop/areao43-icon-theme/areao43-icon-theme.SlackBuild +++ b/desktop/areao43-icon-theme/areao43-icon-theme.SlackBuild @@ -60,4 +60,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} |