summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD30
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8666cdb92d9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Wed Feb 3 09:13:12 UTC 2016
+pkgbase = nmapsi4
+ pkgdesc = Qt5-based Gui for nmap
+ pkgver = 0.5.alpha1
+ pkgrel = 1
+ url = http://www.nmapsi4.org/
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = cmake>=2.8.2
+ makedepends = qt5-webkit>=5.2
+ depends = nmap>=6.00
+ depends = bind-tools
+ source = http://sourceforge.net/projects/nmapsi/files/nmapsi4-0.5/nmapsi4-0.5-alpha1.tar.xz
+ sha1sums = b2e69e50c4deefb983cca10934d660cbe290e4fd
+
+pkgname = nmapsi4
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b57a5342004
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: zoe <chp321 [at] gmail [dot] com>
+# Contributor: zoe <chp321 [at] gmail [dot] com>
+
+pkgname=nmapsi4
+pkgver=0.5.alpha1
+_pkgver=0.5-alpha1
+pkgrel=1
+pkgdesc="Qt5-based Gui for nmap"
+arch=('i686' 'x86_64')
+url="http://www.nmapsi4.org/"
+license=('GPL2')
+depends=('nmap>=6.00' 'bind-tools')
+makedepends=('cmake>=2.8.2' 'qt5-webkit>=5.2')
+source=(http://sourceforge.net/projects/nmapsi/files/${pkgname}-0.5/${pkgname}-${_pkgver}.tar.xz)
+sha1sums=('b2e69e50c4deefb983cca10934d660cbe290e4fd')
+
+build() {
+ cd "${srcdir}/${pkgname}-${_pkgver}/tools"
+ ./cmake_verbose_script.sh
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${_pkgver}/build"
+ make DESTDIR=${pkgdir} install
+
+ # Fix executable permisions
+ chmod 755 ${pkgdir}/usr/bin/*
+}
+
+