new package: plantuml
This commit is contained in:
parent
7607884de2
commit
8182c83935
|
@ -0,0 +1,21 @@
|
||||||
|
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.2021.16
|
||||||
|
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/plantuml/${TERMUX_PKG_VERSION}/plantuml-${TERMUX_PKG_VERSION}.tar.gz
|
||||||
|
TERMUX_PKG_SHA256=a8887c9714d764a7ee44335494fffa689555822a66044d9430d51731a7981c6b
|
||||||
|
TERMUX_PKG_DEPENDS="openjdk-17"
|
||||||
|
TERMUX_PKG_BUILD_DEPENDS="ant"
|
||||||
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
||||||
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
|
|
||||||
|
termux_step_make() {
|
||||||
|
sh $TERMUX_PREFIX/bin/ant dist
|
||||||
|
}
|
||||||
|
|
||||||
|
termux_step_make_install() {
|
||||||
|
mkdir -p $TERMUX_PREFIX/share/java
|
||||||
|
install -Dm600 plantuml.jar $TERMUX_PREFIX/share/java/
|
||||||
|
install -Dm700 plantuml $TERMUX_PREFIX/bin/
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/build.xml
|
||||||
|
+++ b/build.xml
|
||||||
|
@@ -20,7 +20,7 @@
|
||||||
|
<target name="compile">
|
||||||
|
<delete dir="build" />
|
||||||
|
<mkdir dir="build" />
|
||||||
|
- <javac target="1.7" source="1.7" srcdir="src" destdir="build" debug="on" />
|
||||||
|
+ <javac target="1.7" encoding="UTF-8" source="1.7" srcdir="src" destdir="build" debug="on" />
|
||||||
|
<copy file="src/net/sourceforge/plantuml/version/logo.png"
|
||||||
|
todir="build/net/sourceforge/plantuml/version" />
|
||||||
|
<copy file="src/net/sourceforge/plantuml/version/favicon.png"
|
|
@ -0,0 +1,5 @@
|
||||||
|
--- a/plantuml
|
||||||
|
+++ b/plantuml
|
||||||
|
@@ -0,0 +1,2 @@
|
||||||
|
+#!@TERMUX_PREFIX@/bin/sh
|
||||||
|
+exec java -jar @TERMUX_PREFIX@/share/java/plantuml.jar "$@"
|
Loading…
Reference in New Issue