1 # Maintainer: MatToufoutu <mattoufootu[at]gmail.com>
6 pkgdesc="A graphical cyber attack management tool for Metasploit"
7 url="http://www.fastandeasyhacking.com/"
10 depends=('metasploit' 'subversion')
11 makedepends=('apache-ant' 'zip' 'unzip' 'java-environment')
13 install=('armitage.install')
15 source=('armitage.install')
16 md5sums=('5234326f9ff41ff8694cb35a557af895')
18 _svntrunk=http://armitage.googlecode.com/svn/trunk/
23 if [ -d ${_svnmod}/.svn ]; then
26 svn co ${_svntrunk} ${_svnmod}
29 sed -i 's|ant|/usr/share/java/apache-ant/bin/ant|g' package.sh
30 bash package.sh || return 1
31 echo "#!/bin/bash" > ${_svnmod}.sh
32 echo "java -jar /opt/${_svnmod}/${_svnmod}.jar" >> ${_svnmod}.sh
36 mkdir -p ${pkgdir}/{opt/${_svnmod},usr/bin}
37 tar -C ${pkgdir}/opt/ -xzf ${srcdir}/${_svnmod}/${_svnmod}.tgz
38 install -m755 ${srcdir}/${_svnmod}/${_svnmod}.sh ${pkgdir}/usr/bin/${_svnmod}