Leonid Plyushch
5 years ago
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with
3 additions and
9 deletions
-
packages/beanshell/build.sh
|
|
@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Small, free, embeddable, source level Java interpreter w |
|
|
|
TERMUX_PKG_LICENSE="Apache-2.0" |
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>" |
|
|
|
TERMUX_PKG_VERSION=2.0b6 |
|
|
|
TERMUX_PKG_REVISION=3 |
|
|
|
TERMUX_PKG_REVISION=4 |
|
|
|
TERMUX_PKG_SRCURL=https://github.com/beanshell/beanshell/releases/download/$TERMUX_PKG_VERSION/bsh-$TERMUX_PKG_VERSION.jar |
|
|
|
TERMUX_PKG_SHA256=a17955976070c0573235ee662f2794a78082758b61accffce8d3f8aedcd91047 |
|
|
|
TERMUX_PKG_DEPENDS="dash, termux-tools" |
|
|
@ -19,14 +19,8 @@ termux_step_pre_configure() { |
|
|
|
} |
|
|
|
|
|
|
|
termux_step_make() { |
|
|
|
"$TERMUX_D8" \ |
|
|
|
--classpath "$ANDROID_HOME/platforms/android-$TERMUX_PKG_API_LEVEL/android.jar" \ |
|
|
|
--release \ |
|
|
|
--min-api "$TERMUX_PKG_API_LEVEL" \ |
|
|
|
--output "$TERMUX_PKG_SRCDIR" \ |
|
|
|
"$TERMUX_PKG_CACHEDIR/bsh-$TERMUX_PKG_VERSION.jar" |
|
|
|
|
|
|
|
jar cf beanshell.jar classes.dex |
|
|
|
"$ANDROID_HOME/build-tools/${TERMUX_ANDROID_BUILD_TOOLS_VERSION}/dx" \ |
|
|
|
--dex --output=beanshell.jar "$TERMUX_PKG_CACHEDIR/bsh-$TERMUX_PKG_VERSION.jar" |
|
|
|
} |
|
|
|
|
|
|
|
termux_step_make_install() { |
|
|
|