p7zip: Update from 15.14.1 to 16.02
[termux-packages] / packages / mathomatic / build.sh
index 0d802b5..04d85ee 100644 (file)
@@ -1,5 +1,5 @@
 TERMUX_PKG_VERSION=16.0.5
-TERMUX_PKG_BUILD_REVISION=1
+TERMUX_PKG_BUILD_REVISION=2
 TERMUX_PKG_HOMEPAGE=http://www.mathomatic.org/
 TERMUX_PKG_DESCRIPTION="Simple CAS and symbolic calculator"
 TERMUX_PKG_SRCURL="http://fossies.org/linux/misc/mathomatic-${TERMUX_PKG_VERSION}.tar.gz"
@@ -9,6 +9,6 @@ TERMUX_PKG_DEPENDS="readline"
 TERMUX_PKG_RM_AFTER_INSTALL="share/applications/mathomatic.desktop share/pixmaps"
 TERMUX_PKG_MAINTAINER="Jonathan Badger <jhbadger@gmail.com>"
 
-export PREFIX=$TERMUX_PREFIX
-CPPFLAGS+=" -DUSE_TGAMMA -DBOLD_COLOR"
-
+termux_step_pre_configure() {
+       CPPFLAGS+=" -DUSE_TGAMMA -DBOLD_COLOR"
+}