updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / nsia / PKGBUILD
blob07d5c98274b36c84d1ae9b671b87c9f5d5dd99e9
1 # Maintainer: Christian Berendt <berendt@b1-systems.de>
3 pkgname=nsia
4 pkgver=0.8.99
5 pkgrel=1
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/"
8 arch=('i686')
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')
14 build() {
15         cd $startdir/src
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
23         dos2unix config.ini
24         cd ${pkgdir}/opt/${pkgname}/bin
25         /opt/java/bin/java -jar nsia.jar --install admin admin admin