summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorbitwave2015-10-16 20:19:49 +0200
committerbitwave2015-10-16 20:19:49 +0200
commit31dbe7b5f2e9cf21485eb3c78e77add9e37f498e (patch)
tree45addd488858f6ee45c550dcce2d93e925acd374 /PKGBUILD
downloadaur-31dbe7b5f2e9cf21485eb3c78e77add9e37f498e.tar.gz
Initial Import from aur-mirror
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD48
1 files changed, 48 insertions, 0 deletions
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
+
+}