From ab9e60b64378b821176fc21b0bea687570070112 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Thu, 30 Apr 2015 01:10:46 -0500 Subject: cowpatty-4.6-6: rebuild --- pcr/cowpatty/PKGBUILD | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) (limited to 'pcr/cowpatty/PKGBUILD') 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 # Contributor (Arch) : CRT # Contributor (Arch) : Sébastien Duquette # Contributor (Arch) : icarus @@ -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: -- cgit v1.2.3-54-g00ecf