updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / yaph / PKGBUILD
blob7241a4eac90a5b93b7729486536af62abcd01e85
1 # Contributor: Ole Roeßler <ole.roessler@gmail.com>
2 pkgname=yaph
3 pkgver=0.91
4 pkgrel=1
5 arch=('i686' 'x86_64')
6 pkgdesc="Yet Another Proxy Hunter - scans and validates lists of SOCKS 4/5 or HTTP proxies"
7 url="http://yaph.sourceforge.net/"
8 license="GPL"
9 depends=('nmap')
10 optdepends=('proxychains: stealth proxy checking')
11 source=("http://downloads.sourceforge.net/yaph/yaph/$pkgname-${pkgver}.tar.gz"
12         "$pkgname-gcc4.patch")
13 md5sums=('f09edd5ba42c671f2d62760bf58604ec'
14          '59d7037b610a1793376853f8926079b6')
16 build() {
17         cd "$startdir/src/$pkgname-$pkgver"
18         patch -p1 -i $startdir/yaph-gcc4.patch
19         ./configure --prefix=/usr || return 1
20         make || return 1
21         make DESTDIR=$pkgdir install || return 1