plantuml: update to 1.2024.7.
This commit is contained in:
parent
47d2fb1e24
commit
b3f86dc418
|
@ -1,23 +1,19 @@
|
|||
# Template file for 'plantuml'
|
||||
pkgname=plantuml
|
||||
reverts="8047_1 8053_1 8059_1"
|
||||
version=1.2023.5
|
||||
version=1.2024.7
|
||||
revision=1
|
||||
create_wrksrc=yes
|
||||
hostmakedepends="apache-ant openjdk8"
|
||||
hostmakedepends="gradle 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"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="http://plantuml.com/"
|
||||
distfiles="${SOURCEFORGE_SITE}/plantuml/plantuml-gplv2-${version}.tar.gz"
|
||||
checksum=c21bb155ecfc53f4f0a5924238069f0c979b0f426bfa44fd62ce73f2aa1b4339
|
||||
distfiles="https://github.com/plantuml/plantuml/archive/v${version}.tar.gz"
|
||||
checksum=4cdfdf38093b29b41cbafbd88e30c598c903618015c6807cfa6fc16f6e97a31e
|
||||
|
||||
do_build() {
|
||||
. /etc/profile.d/jdk.sh
|
||||
. /etc/profile.d/apache-ant.sh
|
||||
ant
|
||||
mv ${pkgname}.jar ${pkgname}-${version}.jar
|
||||
gradle pdfJar --exclude-task test
|
||||
echo "#!/bin/sh" > plantuml
|
||||
echo "java -jar /usr/share/java/${pkgname}-${version}.jar \$@" >> plantuml
|
||||
chmod 755 plantuml
|
||||
|
@ -25,5 +21,5 @@ do_build() {
|
|||
|
||||
do_install() {
|
||||
vbin plantuml
|
||||
vinstall ${pkgname}-${version}.jar 644 usr/share/java ${pkgname}-${version}.jar
|
||||
vinstall build/libs/plantuml-pdf-${version}.jar 644 usr/share/java ${pkgname}-${version}.jar
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue