From f49872880ddd961f5b2dcefd5fb2e0753e05dbcd Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sun, 4 Apr 2021 11:10:36 +1200 Subject: system/exa: Updated for version 0.10.0. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- system/exa/exa.SlackBuild | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'system/exa/exa.SlackBuild') diff --git a/system/exa/exa.SlackBuild b/system/exa/exa.SlackBuild index 48b039ed4b..2ebd5f52e1 100644 --- a/system/exa/exa.SlackBuild +++ b/system/exa/exa.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for exa -# Copyright 2017-2019 Andrew Clemons, Wellington New Zealand +# Copyright 2017-2021 Andrew Clemons, Wellington New Zealand # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=exa -VERSION=${VERSION:-0.9.0} +VERSION=${VERSION:-0.10.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -132,18 +132,11 @@ find -L . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -cargo build --release --no-default-features --features default $CARGOTARGET +cargo build --release $CARGOTARGET mkdir -p $PKG/usr/bin -find target -name exa -exec install -m 755 {} $PKG/usr/bin/exa \; -mkdir -p $PKG/usr/share/bash-completion/completions -mkdir -p $PKG/usr/share/zsh/site-functions -make install-man install-bash-completions install-zsh-completions DESTDIR=$PKG PREFIX=/usr BASHDIR=/usr/share/bash-completion/completions ZSHDIR=/usr/share/zsh/site-functions - -mv $PKG/usr/share/man/ $PKG/usr -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +find target -name $PRGNAM -exec install -m 755 {} $PKG/usr/bin/$PRGNAM \; find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -- cgit v1.2.3