diff options
author | B. Watson <yalhcru@gmail.com> | 2020-04-07 20:39:11 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-04-19 10:52:22 +0700 |
commit | 35555ce05156e7c3d49e28691505695a7d649fa3 (patch) | |
tree | 0d301ac9fc75724797bf06f16b0f94cbc0886f9d /desktop/faience-icon-theme/faience-icon-theme.SlackBuild | |
parent | 5dfb6b4804ab2cb52cf50caa2c6aefca41807e2f (diff) | |
download | slackbuilds-35555ce05156e7c3d49e28691505695a7d649fa3.tar.gz |
desktop/faience-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/faience-icon-theme/faience-icon-theme.SlackBuild')
-rw-r--r-- | desktop/faience-icon-theme/faience-icon-theme.SlackBuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/faience-icon-theme/faience-icon-theme.SlackBuild b/desktop/faience-icon-theme/faience-icon-theme.SlackBuild index 54e1fe129d..15d755321d 100644 --- a/desktop/faience-icon-theme/faience-icon-theme.SlackBuild +++ b/desktop/faience-icon-theme/faience-icon-theme.SlackBuild @@ -67,4 +67,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} |