aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-04-06 16:57:14 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-19 10:52:21 +0700
commit0997ccc16727c47143a5a0b6ad2b4879a23cb72d (patch)
tree23c46fbd8d9528b57e7c470978f8f4a352ed3537 /desktop
parent7f2ed4a3422a69fc630e1ce43972deb7f450e373 (diff)
desktop/numix-icon-theme: Fix VERSION, 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/numix-icon-theme/numix-icon-theme.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/numix-icon-theme/numix-icon-theme.SlackBuild b/desktop/numix-icon-theme/numix-icon-theme.SlackBuild
index 647e5caaa18eb..bb401554654fc 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 | \