summaryrefslogtreecommitdiff
path: root/pcr/cowpatty/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-04-30 01:10:46 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-04-30 01:10:46 -0500
commitab9e60b64378b821176fc21b0bea687570070112 (patch)
treeba2837e7eee75b558a7317b74aedf3fe7ec09257 /pcr/cowpatty/PKGBUILD
parent5530af243c3c7f3b9aa706856e9ee8fd74127e1c (diff)
downloadabslibre-ab9e60b64378b821176fc21b0bea687570070112.tar.gz
abslibre-ab9e60b64378b821176fc21b0bea687570070112.tar.bz2
abslibre-ab9e60b64378b821176fc21b0bea687570070112.zip
cowpatty-4.6-6: rebuild
Diffstat (limited to 'pcr/cowpatty/PKGBUILD')
-rw-r--r--pcr/cowpatty/PKGBUILD34
1 files changed, 23 insertions, 11 deletions
diff --git a/pcr/cowpatty/PKGBUILD b/pcr/cowpatty/PKGBUILD
index 200ace245..ef5aa6524 100644
--- a/pcr/cowpatty/PKGBUILD
+++ b/pcr/cowpatty/PKGBUILD
@@ -1,3 +1,4 @@
+# Contributor (Arch) : Levente Polyak <levente[at]leventepolyak[dot]net>
# Contributor (Arch) : CRT <crt.011@gmail.com>
# Contributor (Arch) : Sébastien Duquette <ekse.0x@gmail.com>
# Contributor (Arch) : icarus <icarus.roaming@gmail.com>
@@ -6,24 +7,35 @@
pkgname=cowpatty
pkgver=4.6
-pkgrel=5
+pkgrel=6
pkgdesc="Wireless WPA/WPA2 PSK handshake cracking utility"
-arch=('i686' 'x86_64' 'mips64el')
-url="http://www.wirelessdefence.org/Contents/coWPAttyMain.htm"
+url="http://www.willhackforsushi.com/?page_id=50"
+arch=('i686' 'x86_64')
license=('GPL')
depends=('openssl' 'libpcap')
options=('docs' '!makeflags')
-source=("http://www.wirelessdefence.org/Contents/Files/cowpatty-$pkgver.tgz")
+source=(http://www.willhackforsushi.com/code/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tgz
+ cowpatty-4.6-fixup16.patch)
+sha512sums=('87c55f3f43c0342cbcc46227a1e4cfe3f23e215adc68e376991b85344b00b56e7b57e3cf0f1e3d18378cd830a247b2e36644b41b5c0f00a2a382b410f4ab35af'
+ 'ad98cbf6abc2e08e15eba733d0e572c1ae08559dc458da7c07c5def920fd1d1885c63635f464533062fef9dcf31eb55dcdfff62936fdeb25f23d1e60da3b5990')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ sed -ri 's|(= -pipe)|+\1|g' Makefile
+ patch -p1 < ../cowpatty-4.6-fixup16.patch
+}
build() {
- cd "$srcdir/$pkgname-$pkgver"
- make
- make strip
+ cd "${pkgname}-${pkgver}"
+ make all 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
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" BINDIR="/usr/bin" install
+ install -Dm 644 dict "${pkgdir}/usr/share/cowpatty/dict"
+ install -Dm 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm 644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
}
+
+# vim: ts=2 sw=2 et: