1 # Contributor: wido <widowild [at] myopera [dot] com>
7 pkgdesc="Python low orbit ion cannon (loic)"
9 url="http://code.google.com/p/pythonloic/"
11 depends=('python' 'python-irclib' 'scapy')
14 source=(http://pythonloic.googlecode.com/files/${_pkgname}_${pkgver}.zip)
15 md5sums=('92532e7c55df0c9c0b57bdd9db84085d')
23 install -d ${pkgdir}/opt/${pkgname}
24 cp ${srcdir}/${_pkgname}${pkgver}/*.py ${pkgdir}/opt/${pkgname}
27 #sed -i 's:'ubuntu':'archlinux':' ${pkgdir}/opt/${pkgname}/pythonLoic${pkgver}_python3.py
31 install -d ${pkgdir}/usr/bin/
34 python ./pythonLoic${pkgver}_python3.py" > ${pkgdir}/usr/bin/${pkgname}
36 chmod 755 ${pkgdir}/usr/bin/${pkgname}