c352216c63
Variables TERMUX_PKG_PLATFORM_INDEPENDENT TERMUX_DEBUG TERMUX_PKG_HAS_DEBUG TERMUX_PKG_ESSENTIAL TERMUX_SUBPKG_ESSENTIAL TERMUX_PKG_NO_STATICSPLIT TERMUX_PKG_BUILD_IN_SRC TERMUX_PKG_FORCE_CMAKE TERMUX_PKG_HOSTBUILD should not accept arbitrary values for marking them "enabled". Instead they should accept boolean values which makes them easier to handle and also makes their meaning clear. build-package.sh should make decision based on variable's value but not on whether it is set or empty. %ci:no-build
24 lines
743 B
Bash
24 lines
743 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.18
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=http://www.colordiff.org/colordiff-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=29cfecd8854d6e19c96182ee13706b84622d7b256077df19fbd6a5452c30d6e0
|
|
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
|
|
}
|