2021-08-02 14:10:38 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://groovy-lang.org/
|
|
|
|
TERMUX_PKG_DESCRIPTION="A powerful multi-faceted programming language for the JVM platform"
|
|
|
|
TERMUX_PKG_LICENSE="Apache-2.0"
|
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-01-31 06:19:41 +01:00
|
|
|
TERMUX_PKG_VERSION=4.0.0
|
2021-08-02 14:10:38 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-binary-$TERMUX_PKG_VERSION.zip
|
2022-01-31 06:19:41 +01:00
|
|
|
TERMUX_PKG_SHA256=bd5b8af69c169f41c5c7aea00cb8832a6e232ee697f626e29d8f92adebe30df9
|
2021-08-02 14:10:38 +02:00
|
|
|
TERMUX_PKG_DEPENDS="openjdk-17"
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
rm -f ./bin/*.bat
|
|
|
|
rm -rf $TERMUX_PREFIX/opt/groovy
|
|
|
|
mkdir -p $TERMUX_PREFIX/opt/groovy
|
|
|
|
cp -r ./* $TERMUX_PREFIX/opt/groovy/
|
|
|
|
for i in $TERMUX_PREFIX/opt/groovy/bin/*; do
|
|
|
|
if [ ! -f "$i" ]; then
|
|
|
|
continue
|
|
|
|
fi
|
|
|
|
ln -sfr $i $TERMUX_PREFIX/bin/$(basename $i)
|
|
|
|
done
|
|
|
|
}
|