termux-packages/packages/zoxide/build.sh

20 lines
648 B
Bash
Raw Normal View History

2020-11-05 10:47:33 +01:00
TERMUX_PKG_HOMEPAGE=https://github.com/ajeetdsouza/zoxide
TERMUX_PKG_DESCRIPTION="A faster way to navigate your filesystem"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.7.3
2020-11-05 10:47:33 +01:00
TERMUX_PKG_SRCURL=https://github.com/ajeetdsouza/zoxide/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=0b596cf8f86c51cc5aaf8914f8e47fdb0a60ba44e55d75a3d131b1f583ea098c
TERMUX_PKG_AUTO_UPDATE=true
2020-11-05 10:47:33 +01:00
TERMUX_PKG_BUILD_IN_SRC=true
2021-05-03 13:33:34 +02:00
termux_step_pre_configure() {
rm -f ./Makefile
}
termux_step_post_make_install() {
# Install man page:
mkdir -p $TERMUX_PREFIX/share/man/man1/
cp $TERMUX_PKG_SRCDIR/man/* $TERMUX_PREFIX/share/man/man1/
}