updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / pentbox / PKGBUILD
blobf6ebdb0e27512e85025a28693df4f65abbfa64ee
1 # Maintainer: Guillermo Ramos <0xwille at gmail dot com>
3 pkgname="pentbox"
4 pkgver=1.5
5 pkgrel=5
6 pkgdesc="A security suite that packs security and stability testing oriented tools for networks and systems."
7 arch=(any)
8 url="http://www.pentbox.net"
9 license=('GPL3')
10 depends=(ruby)
11 optdepends=('svn: framework update support (/opt/pentbox/pb_update.rb)'
12                         'hping: TCP SYN flood with hping3')
13 options=(!strip)
14 source=("http://sourceforge.net/projects/pentbox/files/$pkgver/$pkgname-$pkgver.tar/download"
15                 "launcher.sh")
16 md5sums=("ec073e657923e3fde8bf15c5ab1e53fe"
17                 "c93d1d00bbedba174fa2d6fea8b32b3c")
18 sha256sums=("cb2cb605453e68a3fe9e53369d32d6985991d2243d8bd03429c150f070e3982e"
19                 "c473d132034b58413a78016238f38288eca18ab7d4f0adf3ad70793379637c42")
21 build() {
22         mkdir -p $pkgdir/opt/$pkgname
23         msg "Installing..."
24         cp -R $srcdir/$pkgname-$pkgver/* $pkgdir/opt/$pkgname/
25         rm -rf $(find $pkgdir/opt/$pkgname/ -type d -name .svn)
26         msg "Copying launcher.sh..."
27         install -D -m755 launcher.sh $pkgdir/bin/$pkgname
28         msg "chmodding..."
29         chmod -R 755 $pkgdir/opt/$pkgname
30         chmod 644 $pkgdir/opt/$pkgname/*.txt
31         chmod 644 $pkgdir/opt/$pkgname/*/*.txt
32         msg "DONE"