Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (38 sloc) 1.34 KB
# Maintainer: ArchStrike <team@archstrike.org>
# Original Maintainer (AUR): CTech <ctech.exe@gmail.com>
# Contributor: Vlad M. <vlad@archlinux.net>
# Contributor: kevku <kevku@gmx.com>
buildarch=220
pkgname=reaver-wps-fork-t6x-git
_pkgname=reaver-wps-fork-t6x
pkgver=1.6.5.r18.g48a0a8b
pkgrel=1
pkgdesc="Brute force attack against Wifi Protected Setup forked w/ added Pixie Dust Attack"
arch=('arm' 'armv6h' 'armv7h' 'i686' 'x86_64' 'aarch64')
url="https://github.com/t6x/reaver-wps-fork-t6x"
license=('GPL2')
depends=('libpcap' 'pixiewps')
makedepends=('git')
replaces=('reaver' 'reaver-svn' 'reaver-git' 'reaver-wps-fork-t6x')
conflicts=('reaver' 'reaver-svn' 'reaver-git' 'reaver-wps-fork-t6x')
provides=('reaver')
source=("$pkgname::git+https://github.com/t6x/$_pkgname.git")
sha512sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$pkgname/src"
./configure --prefix=${pkgdir}/usr --sysconfdir=${pkgdir}/etc
make
}
package() {
cd "$pkgname/src"
install -dm755 "${pkgdir}/usr/bin"
install -dm755 "${pkgdir}/usr/share/doc/reaver"
install -dm755 "${pkgdir}/usr/share/man/man1"
install -Dm644 "${srcdir}/${pkgname}/docs/README" "$pkgdir/usr/share/doc/reaver/README"
install -Dm644 "${srcdir}/${pkgname}/docs/reaver.1" "$pkgdir/usr/share/man/man1/reaver.1"
make install
}
You can’t perform that action at this time.