# Template file for 'plantuml' pkgname="plantuml" reverts="8047_1 8053_1 8059_1" version=1.2017.19 revision=1 depends="virtual?java-environment graphviz" hostmakedepends="unzip" short_desc="Create UML diagrams from a plain text language" maintainer="Julien Dehos " homepage="http://plantuml.com/" license="GPL-2" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-jar-gplv2-${version}.zip" checksum=f0dbe5759c369fb86bc15ffe51f3544e37dca1d35635b7eb0565ed17a973259f noarch="yes" create_wrksrc="yes" do_build() { mv ${pkgname}.jar ${pkgname}-${version}.jar echo "#!/bin/sh" > plantuml echo "java -jar /usr/share/java/${pkgname}-${version}.jar \$@" >> plantuml chmod 755 plantuml } do_install() { vbin plantuml vinstall ${pkgname}-${version}.jar 644 usr/share/java ${pkgname}-${version}.jar }