summaryrefslogtreecommitdiffstats
path: root/desktop/faience-icon-theme/faience-icon-theme.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/faience-icon-theme/faience-icon-theme.SlackBuild')
-rw-r--r--desktop/faience-icon-theme/faience-icon-theme.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/desktop/faience-icon-theme/faience-icon-theme.SlackBuild b/desktop/faience-icon-theme/faience-icon-theme.SlackBuild
index eedd43dd28..15d755321d 100644
--- a/desktop/faience-icon-theme/faience-icon-theme.SlackBuild
+++ b/desktop/faience-icon-theme/faience-icon-theme.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for faience-icon-theme.
#
-# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil
+# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -67,4 +67,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}