summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbitwave2015-10-16 20:19:49 +0200
committerbitwave2015-10-16 20:19:49 +0200
commit31dbe7b5f2e9cf21485eb3c78e77add9e37f498e (patch)
tree45addd488858f6ee45c550dcce2d93e925acd374
downloadaur-31dbe7b5f2e9cf21485eb3c78e77add9e37f498e.tar.gz
Initial Import from aur-mirror
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD48
-rw-r--r--defaultconfig18
-rwxr-xr-xzgrv5
-rw-r--r--zgrviewer.install4
5 files changed, 99 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f5aa12636d8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = zgrviewer
+ pkgdesc = A 2.5D graph visualizer that displays graphs specified in the AT&T GraphViz DOT language
+ pkgver = 0.8.2
+ pkgrel = 1
+ url = http://zvtm.sourceforge.net/zgrviewer.html
+ install = zgrviewer.install
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = unzip
+ depends = java-runtime
+ depends = graphviz
+ noextract = zgrviewer-0.8.2.zip
+ source = http://downloads.sourceforge.net/zvtm/zgrviewer-0.8.2.zip
+ source = zgrv
+ source = defaultconfig
+ source = zgrviewer.install
+ md5sums = fdfe97e13306f9eb81440e74b246aecb
+ md5sums = 2829d5647bc16be124a8626d72eb95a5
+ md5sums = 6a5d4e2c35e9b5ba858d64d51307d818
+ md5sums = d82e1cc8c5c2c7cd23f9c36a40b8d869
+
+pkgname = zgrviewer
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..661adb297f6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,48 @@
+# Maintainer: bitwave
+# Contributor: Joseph Xu <josephzxu@gmail.com>
+# Contributor: Manuel Mendez <mmendez534@gmail.com>
+pkgname=zgrviewer
+pkgver=0.8.2
+pkgrel=1
+arch=(i686 x86_64)
+pkgdesc="A 2.5D graph visualizer that displays graphs specified in the AT&T GraphViz DOT language"
+url="http://zvtm.sourceforge.net/zgrviewer.html"
+license=('LGPL')
+depends=('java-runtime' 'graphviz')
+makedepends=('unzip')
+source=(http://downloads.sourceforge.net/zvtm/${pkgname}-${pkgver}.zip zgrv defaultconfig zgrviewer.install)
+install="${pkgname}.install"
+md5sums=("fdfe97e13306f9eb81440e74b246aecb"
+ "2829d5647bc16be124a8626d72eb95a5"
+ "6a5d4e2c35e9b5ba858d64d51307d818"
+ "d82e1cc8c5c2c7cd23f9c36a40b8d869")
+noextract=("${pkgname}-${pkgver}.zip")
+
+package()
+{
+ cd ${srcdir}
+
+ # start script
+ mkdir -p ${pkgdir}/usr/bin
+ install -m755 zgrv ${pkgdir}/usr/bin
+
+ # installing all jars to /opt/zgrviewer. If they belong somewhere else, let me know
+ mkdir -p ${pkgdir}/opt/${pkgname}
+
+ # default config
+ install -m644 defaultconfig ${pkgdir}/opt/${pkgname}
+
+ # jars
+ unzip ${pkgname}-${pkgver}.zip
+ cd ${pkgname}
+ mkdir ${pkgdir}/opt/${pkgname}/target
+ mkdir ${pkgdir}/opt/${pkgname}/plugins
+ install -m644 target/*.jar ${pkgdir}/opt/${pkgname}/target
+
+ # licenses
+ mkdir -p ${pkgdir}/usr/share/licenses/zgrviewer
+ install -m644 antlr.license.txt ${pkgdir}/usr/share/licenses/zgrviewer
+ install -m644 xerces.license.txt ${pkgdir}/usr/share/licenses/zgrviewer
+ install -m644 zvtm.license.txt ${pkgdir}/usr/share/licenses/zgrviewer
+
+}
diff --git a/defaultconfig b/defaultconfig
new file mode 100644
index 00000000000..3a6f11b3b12
--- /dev/null
+++ b/defaultconfig
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<zgrv:config xmlns:zgrv="http://zvtm.sourceforge.net/zgrviewer">
+ <zgrv:directories>
+ <zgrv:tmpDir value="true">/tmp</zgrv:tmpDir>
+ <zgrv:dot>/usr/bin/dot</zgrv:dot>
+ <zgrv:neato>/usr/bin/neato</zgrv:neato>
+ <zgrv:circo>/usr/bin/circo</zgrv:circo>
+ <zgrv:twopi>/usr/bin/twopi</zgrv:twopi>
+ <zgrv:graphvizFontDir>/usr/share/fonts/TTF</zgrv:graphvizFontDir>
+ </zgrv:directories>
+ <zgrv:webBrowser autoDetect="true" options="" path=""/>
+ <zgrv:proxy enable="false" host="" port="80"/>
+ <zgrv:preferences antialiasing="false" cmdL_options=""
+ highlightColor="-65536" magFactor="2.0" saveWindowLayout="false"
+ sdZoom="false" sdZoomFactor="2" silent="true"/>
+ <zgrv:plugins/>
+ <zgrv:commandLines/>
+</zgrv:config>
diff --git a/zgrv b/zgrv
new file mode 100755
index 00000000000..b6315209f4b
--- /dev/null
+++ b/zgrv
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+ZGRV_HOME=/opt/zgrviewer
+
+java -jar $ZGRV_HOME/target/zgrviewer-0.8.2.jar "$@"
diff --git a/zgrviewer.install b/zgrviewer.install
new file mode 100644
index 00000000000..520c7d5c876
--- /dev/null
+++ b/zgrviewer.install
@@ -0,0 +1,4 @@
+post_install() {
+ echo "Copy /opt/zgrviewer/defaultconfig into your home directory as .zgrviewer to set"
+ echo "the right graphviz paths."
+}