diff options
author | Andrew Rembrandt | 2020-03-23 19:17:56 +0100 |
---|---|---|
committer | Andrew Rembrandt | 2020-03-23 19:17:56 +0100 |
commit | dda07a4abaf6ce271f731d64ae94cccbe56a9487 (patch) | |
tree | b8c8348e95992673c4f1cf3af4af6a5d9b935cc7 | |
parent | 3e09f26991eba2f1af8fef9ca3b2f9e1bb671794 (diff) | |
download | aur-dda07a4abaf6ce271f731d64ae94cccbe56a9487.tar.gz |
Fix incorrect launch script
-rw-r--r-- | plantuml.run | 41 |
1 files changed, 2 insertions, 39 deletions
diff --git a/plantuml.run b/plantuml.run index 44d6a3593aef..259ebe1b336c 100644 --- a/plantuml.run +++ b/plantuml.run @@ -1,39 +1,2 @@ -# Maintainer: Jiachen YANG <farseerfc@gmail.com> -# AUR Contributor: juantascon <juantascon.aur@horlux.org> -# Contributor : Jingbei Li <i@jingbei.li> - -pkgname=plantuml -pkgver=1.2020.2 -pkgrel=1 -pkgdesc="Component that allows to quickly write uml diagrams" -arch=(any) -url="http://plantuml.com/" -license=('GPL') -depends=("graphviz") -makedepends=("apache-ant" "java-environment>=8") -source=("http://downloads.sourceforge.net/project/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz" - "$pkgname.run") -sha256sums=('032c1ef6949c0d2b9abd6cf5a2c6921b0b3d0aa98bea930558d4a2d7bca6eaab' - 'a3fb528f4c719cfd0ff6154c60fd54ce341011d132caf950cc30af4989f6aac8') -optdepends=('plantuml-ascii-math: allow use AsciiMath or JLaTeXMath notation' - 'ditaa: allow use ditaa notation' - 'graphviz: allow use Graphviz/DOT notation') - -prepare(){ - cd "$srcdir/$pkgname-$pkgver" - sed 's/target="1.6"/target="1.7"/g' -i build.xml -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - # assume ant defaults to UTF8 encoding. - ant dist -} - -package() { - depends+=("java-runtime") - install -m 755 -D "$pkgname.run" "$pkgdir/usr/bin/$pkgname" - - cd "$srcdir/$pkgname-$pkgver" - install -m 644 -D "$pkgname.jar" "$pkgdir/usr/share/java/$pkgname/$pkgname.jar" -} +#!/bin/sh +exec /usr/bin/java -jar '/usr/share/java/plantuml/plantuml.jar' "$@" |