plantuml: update to 1.2021.3.

This commit is contained in:
Andrew Benson 2021-03-30 08:42:40 -05:00 committed by Andrew Benson
parent 96251d7971
commit c4d2e4d67a

View file

@ -1,19 +1,22 @@
# Template file for 'plantuml'
pkgname=plantuml
reverts="8047_1 8053_1 8059_1"
version=1.2021.0
version=1.2021.3
revision=1
create_wrksrc=yes
hostmakedepends="unzip"
hostmakedepends="apache-ant openjdk8"
depends="virtual?java-environment graphviz"
short_desc="Create UML diagrams from a plain text language"
maintainer="Julien Dehos <dehos@lisic.univ-littoral.fr>"
license="GPL-2.0-or-later"
homepage="http://plantuml.com/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-jar-gplv2-${version}.zip"
checksum=8825fd153063765f76c6039d131940cbf720e1599089ac9ad5e5814ec8ca9e99
distfiles="${SOURCEFORGE_SITE}/plantuml/plantuml-gplv2-${version}.tar.gz"
checksum=12cdf0b3664ffd16fa05a52c589845d47a12ac99e2beb2309e73d3c122751e23
do_build() {
. /etc/profile.d/10_openjdk8.sh
. /etc/profile.d/apache-ant.sh
ant
mv ${pkgname}.jar ${pkgname}-${version}.jar
echo "#!/bin/sh" > plantuml
echo "java -jar /usr/share/java/${pkgname}-${version}.jar \$@" >> plantuml