1 # Contributor: Changaco <changaco ατ changaco δοτ net>
6 pkgdesc="A scriptable tool for testing a server's vulnerability to connection exhaustion denial of service (DoS) attacks"
8 url="http://motomastyle.com/pyloris"
10 depends=('python2' 'tk')
11 source=("http://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver.tgz")
12 md5sums=('7cd0fcaaca1a68f7be9ebe45a3ebf7b7')
15 cd $srcdir/$pkgname-$pkgver
16 mkdir -p $pkgdir/usr/share/$pkgname $pkgdir/usr/share/licenses/$pkgname $pkgdir/usr/share/doc/$pkgname $pkgdir/usr/bin
17 install -t $pkgdir/usr/share/doc/$pkgname doc/*
18 install -t $pkgdir/usr/share/licenses/$pkgname license/*
20 install -t $pkgdir/usr/share/$pkgname *
21 ln -s /usr/share/$pkgname/$pkgname.py $pkgdir/usr/bin/$pkgname
22 sed -i 's|^#! */usr/bin/env python|#!/usr/bin/env python2|' $pkgdir/usr/share/$pkgname/*.py