diff options
author | B. Watson <yalhcru@gmail.com> | 2020-04-07 22:52:48 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-04-19 10:52:23 +0700 |
commit | c04e3c876de4a4267ced60509410224cfb7d1e73 (patch) | |
tree | e19c0e3629e287242dbf0aa11dc301dae0951468 /desktop | |
parent | 0520483b1db2e54be950f5891b67d7ee84698298 (diff) | |
download | slackbuilds-c04e3c876de4a4267ced60509410224cfb7d1e73.tar.gz |
desktop/vivacious-colors-gtk-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')
-rw-r--r-- | desktop/vivacious-colors-gtk-icon-theme/vivacious-colors-gtk-icon-theme.SlackBuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/vivacious-colors-gtk-icon-theme/vivacious-colors-gtk-icon-theme.SlackBuild b/desktop/vivacious-colors-gtk-icon-theme/vivacious-colors-gtk-icon-theme.SlackBuild index b8375d947f..b7cf2faadd 100644 --- a/desktop/vivacious-colors-gtk-icon-theme/vivacious-colors-gtk-icon-theme.SlackBuild +++ b/desktop/vivacious-colors-gtk-icon-theme/vivacious-colors-gtk-icon-theme.SlackBuild @@ -62,4 +62,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} |