1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-20 18:27:09 +00:00
termux-packages/packages/exa/build.sh

23 lines
736 B
Bash
Raw Normal View History

2018-10-18 03:57:12 +00:00
TERMUX_PKG_HOMEPAGE=https://the.exa.website
TERMUX_PKG_DESCRIPTION="A modern replacement for ls"
2019-01-20 21:39:59 +00:00
TERMUX_PKG_LICENSE="MIT"
2019-07-21 13:14:38 +00:00
TERMUX_PKG_VERSION=0.9.0
2019-01-19 02:00:29 +00:00
TERMUX_PKG_SRCURL=https://github.com/ogham/exa/archive/058b4a57bdb1e25cbdacc0fbd1eefc09bc5f1e95.zip
2019-07-21 13:14:38 +00:00
TERMUX_PKG_SHA256=9931ad1c593096e69a1f0f7615e3857b1d422b7e74f63408385c663aeb2c12db
2019-04-14 12:51:46 +00:00
TERMUX_PKG_DEPENDS="zlib"
2018-10-18 03:57:12 +00:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--no-default-features --features default"
TERMUX_PKG_BUILD_IN_SRC=true
2018-10-18 03:57:12 +00:00
termux_step_pre_configure() {
rm $TERMUX_PKG_SRCDIR/Makefile
termux_setup_rust
CFLAGS="$CFLAGS $CPPFLAGS"
2018-10-18 03:57:12 +00:00
cargo update
}
termux_step_post_make_install() {
mkdir -p $TERMUX_PREFIX/share/man/man1
cp $TERMUX_PKG_SRCDIR/contrib/man/exa.1 $TERMUX_PREFIX/share/man/man1/
}