From e74cde76c104df82b120a7b13964cb786da8f565 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 May 2023 20:18:50 +0200 Subject: community -> extra --- extra/exa/PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 extra/exa/PKGBUILD (limited to 'extra/exa/PKGBUILD') diff --git a/extra/exa/PKGBUILD b/extra/exa/PKGBUILD new file mode 100644 index 00000000..914a7177 --- /dev/null +++ b/extra/exa/PKGBUILD @@ -0,0 +1,25 @@ +# pandoc is mainly broken currently (FS32#180) +makedepends=(${makedepends[@]//pandoc/}) +eval "$( + declare -f build | \ + sed ' + s/pandoc/#pandoc/ + ' +)" +eval "$( + declare -f package | \ + sed ' + /exa.1/d + /exa_colors.5/d + ' +)" + +# CARCH pentium4 makes compilation fail +if [ "$CARCH" = 'pentium4' ]; then + eval "$( + declare -f prepare | \ + sed ' + s/--target "$CARCH-unknown-linux-gnu"/--target "i686-unknown-linux-gnu"/ + ' + )" +fi -- cgit v1.2.3-70-g09d2