diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2025-05-10 08:52:33 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2025-05-10 12:07:42 +0700 |
commit | 1b637e61c18f922d20cf49902f116d48d1557fb6 (patch) | |
tree | 580ee56e0fdc3c754eea01f95de0621eb57dd49a | |
parent | f6899af3c0ca2650e3abc6c14da78f0e0de3d107 (diff) |
system/exa: Removed (use eza fork).
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/exa/README | 1 | ||||
-rw-r--r-- | system/exa/exa.SlackBuild | 175 | ||||
-rw-r--r-- | system/exa/exa.info | 100 | ||||
-rw-r--r-- | system/exa/slack-desc | 19 |
4 files changed, 0 insertions, 295 deletions
diff --git a/system/exa/README b/system/exa/README deleted file mode 100644 index 11b0e72f1e..0000000000 --- a/system/exa/README +++ /dev/null @@ -1 +0,0 @@ -exa - a replacement for ls written in Rust. diff --git a/system/exa/exa.SlackBuild b/system/exa/exa.SlackBuild deleted file mode 100644 index 578e021306..0000000000 --- a/system/exa/exa.SlackBuild +++ /dev/null @@ -1,175 +0,0 @@ -#!/bin/bash - -# Slackware build script for exa - -# Copyright 2017-2021 Andrew Clemons, Wellington New Zealand -# Copyright 2022-2023 Andrew Clemons, Tokyo Japan -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=exa -VERSION=${VERSION:-0.10.1} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac - - if [ "$ARCH" = "i586" ]; then - if rustc -Vv | grep host | grep i686 > /dev/null ; then - ARCH=i686 - fi - fi -fi - -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" - CARGOTARGET="--target $ARCH-unknown-linux-gnu" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" - CARGOTARGET="--target $ARCH-unknown-linux-gnu" -elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" - CARGOTARGET="--target $ARCH-unknown-linux-gnu" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" - CARGOTARGET="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION - -# build offline -# configuration tells cargo to use the configured directory -# for dependencies intead of downloading from crates.io -mkdir .cargo -cat << EOF >> .cargo/config -[source.crates-io] -registry = 'https://github.com/rust-lang/crates.io-index' -replace-with = 'vendored-sources' - -[source.vendored-sources] -directory = '$(pwd)/vendor' -EOF - -# deps and versions come from Cargo.lock -mkdir vendor -( - cd vendor - - grep -h -A 3 "\[\[package\]\]" $(find ../ -maxdepth 1 -mindepth 1 -name Cargo.lock | tr '\n' ' ') | \ - sed 's/[[:space:]]*=[[:space:]]*/=/g;s/^--//;s/^\[\[/--\n[[/' | \ - awk 'BEGIN { RS = "--\n" ; FS="\n" } { print $2, $3, $4 }' | sed 's/"//g;s/name=//;s/ version=/=/' | \ - grep crates\.io-index | sed 's/ source=.*$//' | sort -u | while read -r dep ; do - - ver="$(printf "%s\n" "$dep" | cut -d= -f2)" - dep="$(printf "%s\n" "$dep" | cut -d= -f1)" - - tar xvf $CWD/$dep-$ver.crate - - touch $dep-$ver/.cargo-ok - - # generate checksum - { - printf "{\n" - printf ' "files": {\n' - - ( - cd $dep-$ver - find . -type f -print0 | xargs -0 sha256sum | sed -n '/\.cargo-checksum\.json/!p' | sed 's/\.\///;s/^\([^ ]*\)[[:space:]][[:space:]]*\(.*\)$/"\2":"\1",/' - ) | sed '$ s/,$//' - - printf " },\n" - printf ' "package": "' - - sha256sum "$CWD/$dep-$ver.crate" | cut -f1 -d' ' | sed 's/$/"/' - - printf "}\n" - } > $dep-$ver/.cargo-checksum.json - done -) - -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -sed -i "s/version = \"0.11.0-pre\"/version = \"$VERSION\"/" Cargo.lock - -CARGO_HOME=.cargo \ -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -cargo build --offline --release $CARGOTARGET - -mkdir -p $PKG/usr/bin - -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 - -unzip -q -d accoutrements $CWD/$PRGNAM-accoutrements-v$VERSION.zip - -install -Dm644 accoutrements/man/exa.1 $PKG/usr/man/man1/exa.1 -install -Dm644 accoutrements/man/exa_colors.5 $PKG/usr/man/man5/exa_colors.5 - -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 - -install -Dm644 accoutrements/completions/*.bash $PKG/usr/share/bash-completion/completions/exa -install -Dm644 accoutrements/completions/*.fish $PKG/usr/share/fish/completions/exa.fish -install -Dm644 accoutrements/completions/*.zsh $PKG/usr/share/zsh/site-functions/_exa - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENCE README.md $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/system/exa/exa.info b/system/exa/exa.info deleted file mode 100644 index 3eb3ef16bf..0000000000 --- a/system/exa/exa.info +++ /dev/null @@ -1,100 +0,0 @@ -PRGNAM="exa" -VERSION="0.10.1" -HOMEPAGE="https://github.com/ogham/exa" -DOWNLOAD="https://github.com/ogham/exa/archive/v0.10.1/exa-0.10.1.tar.gz \ - https://github.com/ogham/exa/releases/download/v0.10.1/exa-accoutrements-v0.10.1.zip \ - https://static.crates.io/crates/ansi_term/ansi_term-0.12.1.crate \ - https://static.crates.io/crates/autocfg/autocfg-1.0.1.crate \ - https://static.crates.io/crates/bitflags/bitflags-1.2.1.crate \ - https://static.crates.io/crates/byteorder/byteorder-1.4.3.crate \ - https://static.crates.io/crates/cc/cc-1.0.67.crate \ - https://static.crates.io/crates/cfg-if/cfg-if-1.0.0.crate \ - https://static.crates.io/crates/datetime/datetime-0.5.2.crate \ - https://static.crates.io/crates/form_urlencoded/form_urlencoded-1.0.1.crate \ - https://static.crates.io/crates/git2/git2-0.13.17.crate \ - https://static.crates.io/crates/glob/glob-0.3.0.crate \ - https://static.crates.io/crates/hermit-abi/hermit-abi-0.1.18.crate \ - https://static.crates.io/crates/idna/idna-0.2.2.crate \ - https://static.crates.io/crates/jobserver/jobserver-0.1.21.crate \ - https://static.crates.io/crates/lazy_static/lazy_static-1.4.0.crate \ - https://static.crates.io/crates/libc/libc-0.2.93.crate \ - https://static.crates.io/crates/libgit2-sys/libgit2-sys-0.12.18+1.1.0.crate \ - https://static.crates.io/crates/libz-sys/libz-sys-1.1.2.crate \ - https://static.crates.io/crates/locale/locale-0.2.2.crate \ - https://static.crates.io/crates/log/log-0.4.14.crate \ - https://static.crates.io/crates/matches/matches-0.1.8.crate \ - https://static.crates.io/crates/natord/natord-1.0.9.crate \ - https://static.crates.io/crates/num_cpus/num_cpus-1.13.0.crate \ - https://static.crates.io/crates/number_prefix/number_prefix-0.4.0.crate \ - https://static.crates.io/crates/openssl-src/openssl-src-111.15.0+1.1.1k.crate \ - https://static.crates.io/crates/openssl-sys/openssl-sys-0.9.61.crate \ - https://static.crates.io/crates/pad/pad-0.1.6.crate \ - https://static.crates.io/crates/percent-encoding/percent-encoding-2.1.0.crate \ - https://static.crates.io/crates/pkg-config/pkg-config-0.3.19.crate \ - https://static.crates.io/crates/redox_syscall/redox_syscall-0.1.57.crate \ - https://static.crates.io/crates/scoped_threadpool/scoped_threadpool-0.1.9.crate \ - https://static.crates.io/crates/term_grid/term_grid-0.1.7.crate \ - https://static.crates.io/crates/term_size/term_size-0.3.2.crate \ - https://static.crates.io/crates/tinyvec/tinyvec-1.2.0.crate \ - https://static.crates.io/crates/tinyvec_macros/tinyvec_macros-0.1.0.crate \ - https://static.crates.io/crates/unicode-bidi/unicode-bidi-0.3.5.crate \ - https://static.crates.io/crates/unicode-normalization/unicode-normalization-0.1.17.crate \ - https://static.crates.io/crates/unicode-width/unicode-width-0.1.8.crate \ - https://static.crates.io/crates/url/url-2.2.1.crate \ - https://static.crates.io/crates/users/users-0.11.0.crate \ - https://static.crates.io/crates/vcpkg/vcpkg-0.2.11.crate \ - https://static.crates.io/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \ - https://static.crates.io/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate \ - https://static.crates.io/crates/winapi/winapi-0.3.9.crate \ - https://static.crates.io/crates/zoneinfo_compiled/zoneinfo_compiled-0.5.1.crate" -MD5SUM="01f0ac8192de592f8db0acc99c101429 \ - b579973e74923df3b0e8fe35f695d84d \ - f44e8d1d2e61974b268852797530ea41 \ - c6443ec8d007c729ba5482008d0c864d \ - 6799c26a7eacaf8e58d3e45c6c5add89 \ - 1e704be5ddde9d6b5383ef1035309f91 \ - 8637708206e07c0b9e726c7b2f4412d6 \ - 74634128440dbc3766bda76fdf0aaa05 \ - 483eecc236461c493fd1aab629cee9e2 \ - 7ee8703970c3fa6a2e37893de742824b \ - b257bd23af7cae27874de1a97a89a1c6 \ - e7c07242a95ee1df865efe9534e10a34 \ - 2c4bc5c16b345ce4d4bbf977577fab35 \ - 26da31c4133576b7abd1d7b60c758bbc \ - 04a84513cdad48c92d8363d627904227 \ - fba3b040a55c01be7376d3dd5c4d4920 \ - 7273a349a0cb997f92b8863fc526d4fd \ - b5b2006aeb90fbd6a12b32ed9c19bb37 \ - e5768043e447a7423f030c1394440502 \ - 4b6711425b661ef923c9ff3ef9ba8c67 \ - 40e508baeee8cdccbc471489b0f449ff \ - 7916dcd738a8fa6a2798754c20d6e146 \ - 5a9b94ba54ea1f52f2a496ba982e3282 \ - c36d452e37c73b1e99f40bae18cddfdb \ - 4bbea6a7f7b7715c2e4eb553cf62913c \ - f81856d4c7022b74e582e81326f8ef70 \ - fe33e6c7f00ecf6f6a13c7996a1a236c \ - 9ef4dc6ae75b107b9b8eb13d5824bba8 \ - f490982aceabdbd515348f63e638a782 \ - 448bc61aee07661464d98da7660e9a1d \ - 3cc3a4bd5861ca93d7c0d19129334703 \ - b492e0a70603c3903a44ec5cabd3ba21 \ - 225ea4b479317c9db74e6e74db8ef198 \ - 73d602cc41e3e431bf4fabd129ae1616 \ - 9750b80eb8a2fc79cb20c86752503ddd \ - 7bfcad253aff26bc26c5e3521f3ba891 \ - 2453c0de41d2b13b33c8cc648d0eff15 \ - 9acda194d3610e7d42e09b6de24c717a \ - 4272c279b06b88f8b0ffce7109348e27 \ - 871061b3dab2a322a13effd0a800b05f \ - d4c929fc9daf131daef04ee7eaa91fd4 \ - e17e2583e10c6947982de78aeae42a5c \ - db96b50050277bf05a3c68534bbb9586 \ - 09de9d01e7331ff3da11f58be8bef0df \ - 0498c4a11448bfc35dc7bb2caa64c753 \ - cebfcf2c00532e4559ecad9c9ebaca0a" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Andrew Clemons" -EMAIL="andrew.clemons@gmail.com" diff --git a/system/exa/slack-desc b/system/exa/slack-desc deleted file mode 100644 index 504985b039..0000000000 --- a/system/exa/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -exa: exa (replacement for 'ls' written in Rust) -exa: -exa: exa is a replacement for ls written in Rust. -exa: -exa: https://github.com/ogham/exa -exa: -exa: -exa: -exa: -exa: -exa: |