blob: 60089eaa27eefae411c7d7949f5662999a432654 (
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
30
31
32
33
34
35
36
37
38
|
# Maintainer: Zentino <zylsjsp@gmail.com>
# Contributor: BoBeR182 <aur AT nullvoid DOT com>
# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Andrés Cordero <arch@andrew67.com>
# Contributor: Jens Pranaitis <jens@chaox.net>
pkgname=mdk3
pkgver=v6
pkgrel=11
pkgdesc="WLAN penetration tool"
url="https://www.kali.org/tools/mdk3/"
arch=("x86_64")
license=('GPL2')
depends=('glibc' 'aircrack-ng')
source=(https://salsa.debian.org/pkg-security-team/${pkgname}/-/archive/debian/master/${pkgname}-debian-master.tar.bz2)
sha512sums=('79dff994816e78ae1001074f93f266ad7b820cf03c0b2c3e61d9eb73e2a047c9bb912bcfb14f6dec09584c017407bd84fea127a11cc355b5f8a77102ef0ded89')
prepare() {
cd ${pkgname}-debian-master
patches=$(cat debian/patches/series)
for patch in $patches; do
patch -Np1 -i debian/patches/$patch
done
sed 's|sbin|bin|g' -i Makefile
}
build() {
cd ${pkgname}-debian-master
make
}
package() {
cd ${pkgname}-debian-master
make DESTDIR="${pkgdir}" PREFIX="/usr" install
install -Dm 644 docs/*.html -t "${pkgdir}/usr/share/doc/${pkgname}"
}
# vim: ts=2 sw=2 et:
|