2018-10-18 05:57:12 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://the.exa.website
|
|
|
|
TERMUX_PKG_DESCRIPTION="A modern replacement for ls"
|
2019-01-20 22:39:59 +01:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-01-06 11:02:12 +01:00
|
|
|
TERMUX_PKG_VERSION=0.9.0-git
|
2021-01-07 05:57:52 +01:00
|
|
|
TERMUX_PKG_REVISION=1
|
2021-01-06 11:02:12 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/ogham/exa/archive/39c8c67bf6237076b24915851f908d6da13c04b7.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=e3fba517f0017e6a7435421d63e73c4e695f2844433d8245debb0f51b89a5a9e
|
2021-01-07 05:57:52 +01:00
|
|
|
TERMUX_PKG_DEPENDS="zlib, libgit2"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2018-10-18 05:57:12 +02:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
termux_setup_rust
|
2019-04-14 23:58:23 +02:00
|
|
|
|
2021-01-06 11:02:12 +01:00
|
|
|
CFLAGS="$CPPFLAGS"
|
2018-10-18 05:57:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_make_install() {
|
|
|
|
mkdir -p $TERMUX_PREFIX/share/man/man1
|
2021-01-06 11:02:12 +01:00
|
|
|
mkdir -p $TERMUX_PREFIX/share/man/man5
|
|
|
|
pandoc --standalone --to man $TERMUX_PKG_SRCDIR/man/exa.1.md --output $TERMUX_PREFIX/share/man/man1/exa.1
|
|
|
|
pandoc --standalone --to man $TERMUX_PKG_SRCDIR/man/exa_colors.5.md --output $TERMUX_PREFIX/share/man/man5/exa_colors.5
|
2018-10-18 05:57:12 +02:00
|
|
|
}
|