Updates (#944)
[termux-packages] / packages / picolisp / build.sh
index edad5b7..0df3433 100644 (file)
@@ -2,12 +2,12 @@ TERMUX_PKG_HOMEPAGE=http://picolisp.com
 TERMUX_PKG_DESCRIPTION="Lisp interpreter and application server framework"
 TERMUX_PKG_DEPENDS="libcrypt, openssl"
 _PICOLISP_YEAR=17
-_PICOLISP_MONTH=2
-_PICOLISP_DAY=24
+_PICOLISP_MONTH=4
+_PICOLISP_DAY=7
 TERMUX_PKG_VERSION=${_PICOLISP_YEAR}.${_PICOLISP_MONTH}.${_PICOLISP_DAY}
 # We use our bintray mirror since old version snapshots are not kept on main site.
 TERMUX_PKG_SRCURL=https://dl.bintray.com/termux/upstream/picolisp_${TERMUX_PKG_VERSION}.tar.gz
-TERMUX_PKG_SHA256=900100713c07a924fd53ea4fe6ff7cbf216423e98e2137ffdac86b85cbcf24c8
+TERMUX_PKG_SHA256=29c9f6c5522ebeb11c167fa37242940f4e598e921a7a1d242bcf57669c62d744
 TERMUX_PKG_FOLDERNAME=picoLisp
 TERMUX_PKG_BUILD_IN_SRC=true
 # The assembly is not position-independent (would be a major rewrite):
@@ -28,9 +28,7 @@ fi
 termux_step_pre_configure() {
        # Validate that we have the right version:
        grep -q "Version $_PICOLISP_YEAR $_PICOLISP_MONTH $_PICOLISP_DAY" src64/version.l || {
-               echo "ERROR: Picolisp version needs to be bumped" 1>&2
-               grep Version src64/version.l 1>&2
-               exit 1
+               termux_error_exit "Picolisp version needs to be bumped"
        }
 
        if [ $TERMUX_ARCH_BITS = 64 ]; then