llvm&clang: Update from 3.9.1 to 4.0.0
[termux-packages] / packages / git / build.sh
index 7873aba..de96545 100755 (executable)
@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://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.11.1
+TERMUX_PKG_VERSION=2.12.0
 TERMUX_PKG_SRCURL=https://www.kernel.org/pub/software/scm/git/git-${TERMUX_PKG_VERSION}.tar.xz
-TERMUX_PKG_SHA256=c0a779cae325d48a1d5ba08b6ee1febcc31d0657a6da01fd1dec1c6e10976415
+TERMUX_PKG_SHA256=1821766479062d052cc1897d0ded95212e81e5c7f1039786bc4aec2225a32027
 ## This requires a working $TERMUX_PREFIX/bin/sh on the host building:
 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
 ac_cv_fread_reads_directories=yes
@@ -63,7 +63,6 @@ termux_step_post_make_install () {
 
 termux_step_post_massage () {
        if [ ! -f libexec/git-core/git-remote-https ]; then
-               echo "ERROR: Built without https support"
-               exit 1
+               termux_error_exit "Git built without https support"
        fi
 }