summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Woelk2016-07-22 15:22:07 -0500
committerMatt Woelk2016-07-22 15:22:07 -0500
commitb9cb9db48ee81041d949c6ce6243dd5addfa0b05 (patch)
tree4c8877c9fc945923431f998f10e33a01e9d49cad
parent9b560ce5b577b349bf478549562d0f717aa6f77d (diff)
downloadaur-b9cb9db48ee81041d949c6ce6243dd5addfa0b05.tar.gz
Added .desktop file.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
-rw-r--r--nessus.desktop7
3 files changed, 17 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2bcb2a0fa5b..5091793f95e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Fri Jul 22 18:45:54 UTC 2016
+# Fri Jul 22 20:17:57 UTC 2016
pkgbase = nessus
pkgdesc = Vulnerability scanner
pkgver = 6.8.0
@@ -10,9 +10,11 @@ pkgbase = nessus
license = custom
depends = openssl
depends = gnupg
+ source = nessus.desktop
source = nessus.sh
source = LICENSE
md5sums = 4106308f11c6b56f05932ee7bf9e71e1
+ md5sums = 388578bf980efe6e6d3f33fcc289543a
md5sums = 8c5772ac63f97d94475fe03e80d6ba5c
md5sums = 1db6df5a39009ace46c7ee40141ece1b
diff --git a/PKGBUILD b/PKGBUILD
index 6e3da737469..2322e928c92 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,20 +19,22 @@ _gettoken() {
if [[ "$token" == "" ]]; then
echo
- echo "\n==> ERROR: Could not get the download token"
+ echo " -> Could not get the download token, '_retoken' might need an update"
exit 1
fi
- echo $token
+ echo "$token"
}
_token=$(_gettoken)
_pkgurl="https://downloads.nessus.org/nessus3dl.php?file=${_filename}&licence_accept=yes&t=${_token}"
source=("${_filename}::${_pkgurl}"
+ nessus.desktop
nessus.sh
LICENSE)
md5sums=('4106308f11c6b56f05932ee7bf9e71e1'
+ '388578bf980efe6e6d3f33fcc289543a'
'8c5772ac63f97d94475fe03e80d6ba5c'
'1db6df5a39009ace46c7ee40141ece1b')
@@ -52,4 +54,7 @@ package() {
# license
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/nessus/LICENSE"
+
+ # menu entry
+ install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}
diff --git a/nessus.desktop b/nessus.desktop
new file mode 100644
index 00000000000..82d32458179
--- /dev/null
+++ b/nessus.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Type=Application
+Name=Nessus
+Comment=Vulnerability scanner
+Icon=text-html
+Exec=xdg-open https://127.0.0.1:8834
+Categories=Network;Security;