Add Colordiff package (#548)
[termux-packages] / packages / colordiff / build.sh
1 TERMUX_PKG_HOMEPAGE=http://www.colordiff.org
2 TERMUX_PKG_DESCRIPTION="The Perl script colordiff is a wrapper for 'diff' and produces the same output but with pretty 'syntax' highlighting."
3 TERMUX_PKG_VERSION=1.0.16
4 TERMUX_PKG_MAINTAINER="Oliver Schmidhauser @Neo-Oli"
5 TERMUX_PKG_SRCURL=http://www.colordiff.org/colordiff-${TERMUX_PKG_VERSION}.tar.gz
6 TERMUX_PKG_DEPENDS="perl"
7 TERMUX_PKG_BUILD_IN_SRC=yes
8 TERMUX_PKG_PLATFORM_INDEPENDENT=yes
9
10 termux_step_pre_make(){
11 export INSTALL_DIR=${PREFIX}/bin
12 export MAN_DIR=${PREFIX}/share/man/man1
13 export ETC_DIR=${PREFIX}/etc
14 }