1 # Maintainer: Christian Berendt <berendt@b1-systems.de>
6 pkgdesc="The ThreatFactor NSIA is a website scanner that monitors websites in realtime in order to detect defacements, compliance violations, exploits, sensitive information disclosure and other issues."
7 url="http://threatfactor.com/Products/"
9 license=('custom:nsia')
10 depends=('jre' 'hd2u')
11 source=(http://downloads.sourceforge.net/project/nsia/nsia/${pkgver}/NSIA_No_Installer.zip)
12 md5sums=('5e30add82a1870aef0bb7113db2b9db9')
17 mkdir -p ${pkgdir}/opt/${pkgname}/{bin,etc,lib,var}
18 cp bin/nsia.jar ${pkgdir}/opt/${pkgname}/bin
19 cp etc/{config.ini,mime.types} ${pkgdir}/opt/${pkgname}/etc
20 cp -r lib/* ${pkgdir}/opt/${pkgname}/lib
22 cd ${pkgdir}/opt/${pkgname}/etc
24 cd ${pkgdir}/opt/${pkgname}/bin
25 /opt/java/bin/java -jar nsia.jar --install admin admin admin