mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-04 18:45:52 +00:00
99e3074da3
gradle was updated to v8.10 in this upstream commit.
53a2a8d611
23 lines
901 B
Bash
23 lines
901 B
Bash
TERMUX_PKG_HOMEPAGE=https://plantuml.com/
|
|
TERMUX_PKG_DESCRIPTION="Draws UML diagrams, using a simple and human readable text description"
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="1.2024.8"
|
|
TERMUX_PKG_SRCURL=https://github.com/plantuml/plantuml/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=5b5903545e7977a5b1b7136401847a57885ac83247264100c47c6fda1658e56f
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_DEPENDS="openjdk-17"
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+\.\d+\.\d+"
|
|
|
|
termux_step_make() {
|
|
$TERMUX_PKG_SRCDIR/gradlew --no-daemon --parallel --stacktrace assemble
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
mkdir -p $TERMUX_PREFIX/share/java
|
|
install -Dm600 build/libs/plantuml-${TERMUX_PKG_VERSION}.jar $TERMUX_PREFIX/share/java/plantuml.jar
|
|
install -Dm700 plantuml $TERMUX_PREFIX/bin/
|
|
}
|