aboutsummaryrefslogtreecommitdiff
path: root/system/exa/exa.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-04-04 11:10:36 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-10 17:04:45 +0700
commitf49872880ddd961f5b2dcefd5fb2e0753e05dbcd (patch)
tree987e489b05a06b5090a7349d5401e44cadf42a6c /system/exa/exa.SlackBuild
parentc08da11e8bb9009c60cd039b7fc4baf4e5288954 (diff)
system/exa: Updated for version 0.10.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/exa/exa.SlackBuild')
-rw-r--r--system/exa/exa.SlackBuild15
1 files changed, 4 insertions, 11 deletions
diff --git a/system/exa/exa.SlackBuild b/system/exa/exa.SlackBuild
index 48b039ed4bcec..2ebd5f52e13fe 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