aboutsummaryrefslogtreecommitdiff
path: root/desktop/numix-icon-theme/numix-icon-theme.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/numix-icon-theme/numix-icon-theme.SlackBuild')
-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 | \