2016-09-25 00:56:39 +00:00
|
|
|
# Template file for 'plantuml'
|
|
|
|
pkgname="plantuml"
|
2017-01-15 12:56:50 +00:00
|
|
|
version=8053
|
2016-09-25 00:56:39 +00:00
|
|
|
revision=1
|
|
|
|
depends="virtual?java-environment graphviz"
|
|
|
|
hostmakedepends="unzip"
|
|
|
|
short_desc="Create UML diagrams from a plain text language"
|
|
|
|
maintainer="Julien Dehos <dehos@lisic.univ-littoral.fr>"
|
|
|
|
homepage="http://plantuml.com/"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-jar-gplv2-${version}.zip"
|
2017-01-15 12:56:50 +00:00
|
|
|
checksum=c7a2412cbc027e8c4a2d371bc1fd999d91bb401715e3506f772070959d34b247
|
2016-09-25 00:56:39 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|