diff --git a/desktop/faba-mono-icons/faba-mono-icons.SlackBuild b/desktop/faba-mono-icons/faba-mono-icons.SlackBuild index 9ef88aa4bb..1cf7fa136e 100644 --- a/desktop/faba-mono-icons/faba-mono-icons.SlackBuild +++ b/desktop/faba-mono-icons/faba-mono-icons.SlackBuild @@ -65,4 +65,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}