1 # Contributor: Joseph Xu <josephzxu@gmail.com>
6 pkgdesc="A 2.5D graph visualizer that displays graphs specified in the AT&T GraphViz DOT language"
7 url="http://zvtm.sourceforge.net/zgrviewer.html"
9 depends=('java-runtime' 'graphviz')
11 source=(http://downloads.sourceforge.net/zvtm/${pkgname}-${pkgver}.zip zgrv defaultconfig zgrviewer.install)
12 install=(${pkgname}.install)
13 md5sums=("fdfe97e13306f9eb81440e74b246aecb"
14 "2829d5647bc16be124a8626d72eb95a5"
15 "6a5d4e2c35e9b5ba858d64d51307d818"
16 "d82e1cc8c5c2c7cd23f9c36a40b8d869")
17 noextract=("${pkgname}-${pkgver}.zip")
24 mkdir -p ${startdir}/pkg/usr/bin
25 install -m755 zgrv ${startdir}/pkg/usr/bin
27 # installing all jars to /opt/zgrviewer. If they belong somewhere else, let me know
28 mkdir -p ${startdir}/pkg/opt/${pkgname}
31 install -m644 defaultconfig ${startdir}/pkg/opt/${pkgname}
34 unzip ${pkgname}-${pkgver}.zip
36 mkdir ${startdir}/pkg/opt/${pkgname}/target
37 mkdir ${startdir}/pkg/opt/${pkgname}/plugins
38 install -m644 target/*.jar ${startdir}/pkg/opt/${pkgname}/target
41 mkdir -p ${startdir}/pkg/usr/share/licenses/zgrviewer
42 install -m644 antlr.license.txt ${startdir}/pkg/usr/share/licenses/zgrviewer
43 install -m644 xerces.license.txt ${startdir}/pkg/usr/share/licenses/zgrviewer
44 install -m644 zvtm.license.txt ${startdir}/pkg/usr/share/licenses/zgrviewer