termux-packages/packages/colordiff/build.sh
2020-04-19 23:47:17 +02:00

23 lines
721 B
Bash

TERMUX_PKG_HOMEPAGE=https://www.colordiff.org/
TERMUX_PKG_DESCRIPTION="Tool to colorize 'diff' output"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Oliver Schmidhauser @Neo-Oli"
TERMUX_PKG_VERSION=1.0.19
TERMUX_PKG_SRCURL=http://www.colordiff.org/colordiff-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=46e8c14d87f6c4b77a273cdd97020fda88d5b2be42cf015d5d84aca3dfff3b19
TERMUX_PKG_DEPENDS="perl"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_make() {
# Skip the 'make' invocation as it only tries to
# rebuild the documentation.
continue
}
termux_step_post_configure() {
export INSTALL_DIR=${PREFIX}/bin
export MAN_DIR=${PREFIX}/share/man/man1
export ETC_DIR=${PREFIX}/etc
}