diff options
author | B. Watson <yalhcru@gmail.com> | 2020-04-07 21:26:40 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-04-19 10:52:23 +0700 |
commit | 2f4f5764f8e014973fe5b8733678f4be26ade725 (patch) | |
tree | ece841c5d3dcf4bd078c8dc4ac3990a8644532a3 /desktop/numix-icon-theme-square | |
parent | e22885a6a225aa6085a040e24f8670d46d0b6d2f (diff) | |
download | slackbuilds-2f4f5764f8e014973fe5b8733678f4be26ade725.tar.gz |
desktop/numix-icon-theme-square: Speed up build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/numix-icon-theme-square')
-rw-r--r-- | desktop/numix-icon-theme-square/numix-icon-theme-square.SlackBuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/numix-icon-theme-square/numix-icon-theme-square.SlackBuild b/desktop/numix-icon-theme-square/numix-icon-theme-square.SlackBuild index f00713d5bb..2a1d93251f 100644 --- a/desktop/numix-icon-theme-square/numix-icon-theme-square.SlackBuild +++ b/desktop/numix-icon-theme-square/numix-icon-theme-square.SlackBuild @@ -59,4 +59,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} |