summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjose17112017-07-06 15:11:42 +0200
committerjose17112017-07-06 15:12:57 +0200
commit158a2a04e6015dfa7508214c0ac9f5b0a95c448b (patch)
tree5f67ddca4fcda4a49837657a8ba0f39e6f16c037
downloadaur-158a2a04e6015dfa7508214c0ac9f5b0a95c448b.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD31
-rw-r--r--nmonvisualizer.desktop11
3 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e182d90ad03
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Thu Jul 6 13:09:04 UTC 2017
+pkgbase = nmonvisualizer
+ pkgdesc = Java GUI tool for analyzing nmon system files from both AIX and Linux
+ pkgver = 2016_02_29
+ pkgrel = 1
+ url = https://nmonvisualizer.github.io/nmonvisualizer/
+ arch = any
+ license = GPL
+ depends = java-runtime
+ noextract = NMONVisualizer_2016-02-29.jar
+ source = http://dl.bintray.com/nmonvisualizer/NMONVisualizer/NMONVisualizer_2016-02-29.jar
+ source = nmonvisualizer.desktop
+ md5sums = 232477f6733298f953276fa447e173f3
+ md5sums = 5d73f2bfea723aa172e688b0b2d1dae8
+
+pkgname = nmonvisualizer
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fbe86646fd8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Jose Riha <jose1711 gmail com>
+
+pkgname=nmonvisualizer
+pkgver=2016_02_29
+_jarname=NMONVisualizer_${pkgver//_/-}.jar
+pkgrel=1
+pkgdesc="Java GUI tool for analyzing nmon system files from both AIX and Linux"
+arch=('any')
+url="https://nmonvisualizer.github.io/nmonvisualizer/"
+license=('GPL')
+depends=('java-runtime')
+source=('http://dl.bintray.com/nmonvisualizer/NMONVisualizer/NMONVisualizer_2016-02-29.jar'
+ 'nmonvisualizer.desktop')
+noextract=(${_jarname})
+
+package() {
+ cd "${srcdir}"
+
+ install -Dm644 ${_jarname} "${pkgdir}"/usr/share/java/$pkgname/nmonvisualizer.jar
+ install -Dm644 "${srcdir}"/${pkgname}.desktop ${pkgdir}/usr/share/applications/$pkgname.desktop
+
+#executable file
+ install -d "${pkgdir}"/usr/bin
+ cat <<"EOF" >"${pkgdir}"/usr/bin/nmonvisualizer
+#!/bin/sh
+java -jar /usr/share/java/nmonvisualizer/nmonvisualizer.jar
+EOF
+ chmod 755 "${pkgdir}"/usr/bin/$pkgname
+}
+md5sums=('232477f6733298f953276fa447e173f3'
+ '5d73f2bfea723aa172e688b0b2d1dae8')
diff --git a/nmonvisualizer.desktop b/nmonvisualizer.desktop
new file mode 100644
index 00000000000..ee09b38f9ff
--- /dev/null
+++ b/nmonvisualizer.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=NMONVisualizer
+GenericName=Nmon analyzer for AIX and Linux
+Comment=Java GUI tool for analyzing nmon system files
+Exec=nmonvisualizer %F
+Terminal=false
+StartupNotify=true
+Categories=System;Viewer;
+Keywords=nmon