diff options
author | B. Watson <yalhcru@gmail.com> | 2020-04-07 22:37:23 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-04-19 10:52:23 +0700 |
commit | 0520483b1db2e54be950f5891b67d7ee84698298 (patch) | |
tree | 40864beb1acebb19d2547f5712deee55853d87c0 /desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild | |
parent | fc9480a1d4a5eaaaa9597f5ba5a7bc9e1dd9783e (diff) |
desktop/papirus-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/papirus-icon-theme/papirus-icon-theme.SlackBuild')
-rw-r--r-- | desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild b/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild index bce2ad2a94596..1cbf14b5a18b0 100644 --- a/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild +++ b/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild @@ -85,4 +85,11 @@ cat $CWD/slack-desc > $PKG/install/slack-desc sed -e "s/@THEMES@/$THEMES/" $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} |