updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / hydra / PKGBUILD
blob2a28dff6ac3257019d1fd320f4fce3645941f9fc
1 # Maintainer: Bartek Piotrowski <barthalion@gmail.com>
2 # Contributor: Thomas S Hatch <thatch45 at gmail dot com>
3 # Contributor: pootzko <pootzko@gmail.com>
4 # Contributor: Jinx <jinxware@gmail.com>
6 pkgname=hydra
7 pkgver=7.1
8 pkgrel=1
9 pkgdesc="A very fast network logon cracker which support many different services."
10 arch=('i686' 'x86_64')
11 url="http://www.thc.org/thc-hydra/"
12 license="GPL3"
13 depends=('krb5' 'openssl' 'postgresql-libs' 'subversion' 'apr' 'apr-util' 'libssh' 'flamerobin')
14 source=("http://freeworld.thc.org/releases/$pkgname-$pkgver-src.tar.gz")
15 md5sums=('0c3a6a351cb2e233cb989f0bcdd75edf')
17 build() {
18         cd $srcdir/$pkgname-$pkgver-src
20         ./configure --prefix=/usr --mandir=/usr/share/man
21         make
22
24 package() {
25         cd $srcdir/$pkgname-$pkgver-src
27     mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/man/man1 $pkgdir/usr/man/man1
28         make PREFIX=$pkgdir/usr install
29     mv $pkgdir/usr/man/man1/* $pkgdir/usr/share/man/man1/
30     rm -rf $pkgdir/usr/man