diff options
author | B. Watson <yalhcru@gmail.com> | 2020-04-07 21:00:26 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-04-19 10:52:22 +0700 |
commit | ea7d6bac1eabdc0a758be1aa7e4ac9e9d955b194 (patch) | |
tree | a66b09f4a9cdfbab01dd634e61f8ebf4e5224799 /desktop/flatwoken-icon-theme | |
parent | 35555ce05156e7c3d49e28691505695a7d649fa3 (diff) | |
download | slackbuilds-ea7d6bac1eabdc0a758be1aa7e4ac9e9d955b194.tar.gz |
desktop/flatwoken-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/flatwoken-icon-theme')
-rw-r--r-- | desktop/flatwoken-icon-theme/flatwoken-icon-theme.SlackBuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/flatwoken-icon-theme/flatwoken-icon-theme.SlackBuild b/desktop/flatwoken-icon-theme/flatwoken-icon-theme.SlackBuild index b8020a6f33..228810688e 100644 --- a/desktop/flatwoken-icon-theme/flatwoken-icon-theme.SlackBuild +++ b/desktop/flatwoken-icon-theme/flatwoken-icon-theme.SlackBuild @@ -64,4 +64,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} |