X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/3cb21176674ef8c1e9e00dd2c613f9441d688ef6..bd3e679c7da5ab81ed37809b1b87ed057fa68562:/packages/git/build.sh diff --git a/packages/git/build.sh b/packages/git/build.sh index 3c32899d..64b86101 100755 --- a/packages/git/build.sh +++ b/packages/git/build.sh @@ -2,8 +2,9 @@ TERMUX_PKG_HOMEPAGE=http://git-scm.com/ TERMUX_PKG_DESCRIPTION="Distributed version control system designed to handle everything from small to very large projects with speed and efficiency" # less is required as a pager for git log, and the busybox less does not handle used escape sequences. TERMUX_PKG_DEPENDS="libcurl, less" -TERMUX_PKG_VERSION=2.8.1 +TERMUX_PKG_VERSION=2.11.0 TERMUX_PKG_SRCURL=https://www.kernel.org/pub/software/scm/git/git-${TERMUX_PKG_VERSION}.tar.xz +TERMUX_PKG_SHA256=7e7e8d69d494892373b87007674be5820a4bc1ef596a0117d03ea3169119fd0b ## This requires a working $TERMUX_PREFIX/bin/sh on the host building: TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-tcltk --with-curl --with-shell=$TERMUX_PREFIX/bin/sh ac_cv_header_libintl_h=no ac_cv_fread_reads_directories=yes ac_cv_snprintf_returns_bogus=yes" # expat is only used by git-http-push for remote lock management over DAV, so disable: @@ -43,6 +44,10 @@ termux_step_post_make_install () { } termux_step_post_massage () { + # Remove perl if the symlink setup in pre_configure + # causes it to be included. + rm -Rf bin/perl* + if [ ! -f libexec/git-core/git-remote-https ]; then echo "ERROR: Built without https support" exit 1