From 0997ccc16727c47143a5a0b6ad2b4879a23cb72d Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 6 Apr 2020 16:57:14 -0400 Subject: desktop/numix-icon-theme: Fix VERSION, speed up build. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- desktop/numix-icon-theme/numix-icon-theme.SlackBuild | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'desktop/numix-icon-theme') diff --git a/desktop/numix-icon-theme/numix-icon-theme.SlackBuild b/desktop/numix-icon-theme/numix-icon-theme.SlackBuild index 647e5caaa1..bb40155465 100644 --- a/desktop/numix-icon-theme/numix-icon-theme.SlackBuild +++ b/desktop/numix-icon-theme/numix-icon-theme.SlackBuild @@ -23,6 +23,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20200406 bkw: modified by SlackBuilds.org + PRGNAM="numix-icon-theme" VERSION=${VERSION:-20200320} BUILD=${BUILD:-1} @@ -58,6 +60,11 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh +# 20200406 bkw: create doinst.sh. Normally makepkg does this, but it's +# *painfully* slow and we have over 17,000 symlinks to process. It takes +# 15 minutes for makepkg to run on my test system. The find command +# below runs in 1.5 seconds and creates an identical doinst.sh. This is +# a 1000x speedup. cd $PKG find . -type l \ -printf '( cd %h ; rm -rf %f )\n( cd %h ; ln -sf %l %f )\n' -delete | \ -- cgit v1.2.3-65-gdbad