29 lines
836 B
Bash
29 lines
836 B
Bash
# Template file for 'plantuml'
|
|
pkgname=plantuml
|
|
reverts="8047_1 8053_1 8059_1"
|
|
version=1.2019.4
|
|
revision=1
|
|
archs=noarch
|
|
create_wrksrc=yes
|
|
hostmakedepends="unzip"
|
|
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=ad6718f7ad03d6e5b4e378ab0895e2cb3661ca9bc240d50e0f31520e419508ba
|
|
|
|
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
|
|
}
|
|
|