summaryrefslogtreecommitdiff
path: root/pcr/cowpatty/PKGBUILD
blob: 200ace245d61104c7d41336f98da0d827f9f5f8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor (Arch)     : CRT <crt.011@gmail.com>
# Contributor (Arch)     : Sébastien Duquette <ekse.0x@gmail.com>
# Contributor (Arch)     : icarus <icarus.roaming@gmail.com>
# Contributor (Arch)     : Stephane Travostino <stephane.travostino@gmail.com>
# Maintainer  (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>

pkgname=cowpatty
pkgver=4.6
pkgrel=5
pkgdesc="Wireless WPA/WPA2 PSK handshake cracking utility"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.wirelessdefence.org/Contents/coWPAttyMain.htm"
license=('GPL')
depends=('openssl' 'libpcap')
options=('docs' '!makeflags')
source=("http://www.wirelessdefence.org/Contents/Files/cowpatty-$pkgver.tgz")

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make 
  make strip 
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" BINDIR="/usr/bin/" install
  install -D -m644 dict "$pkgdir"/usr/share/cowpatty/dict
  install -D -m644 COPYING "$pkgdir"/usr/share/licenses/"$pkgname"/COPYING
}