1 # Maintainer: Max Roder <maxroder@web.de>
2 # Contributor: Lex Rivera <x-demon@x-demon.org>
7 pkgdesc="A gui mainly for aircrack-ng. Automates cracking of WEP and WPA"
9 url="http://code.google.com/p/airoscript/"
11 depends=('aircrack-ng' 'macchanger')
12 optdepends=('mdk3: deeper penetration testing')
13 options=('!makeflags')
14 source=(http://airoscript.googlecode.com/files/${pkgname}-1.2-3.tar.gz)
15 sha256sums=('2283e333a0de02c1403815b34ad1526b8ada7f505d7ce31dd3495ebd8300c67d')
18 cd $srcdir/${pkgname}-1.2
20 # Remove broken install parts
21 sed -i '/install-docs \\/ d' Makefile-Linux
22 sed -i '/install-locale \\/ d' Makefile-Linux
23 sed -i '/install-desktop \\/ d' Makefile-Linux
26 make DESTDIR=${pkgdir} \
28 picdir=${pkgdir}/usr/share/pixmaps/ \
29 appdir=${pkgdir}/usr/share/applications/ \
30 etcdir=${pkgdir}/etc/${pkgname} || return 1
32 # Patch config - replace "usr/local" by "usr"
33 sed -i 's/usr\/local/usr/g' ${pkgdir}/etc/${pkgname}/airoscript-ng_advanced.conf
35 # Patch executable to find config files
36 sed -i 's/etc\//etc\/airoscript-ng\//g' ${pkgdir}/usr/sbin/${pkgname}
39 rm -rf ${pkgdir}/usr/share/locale \
40 ${pkgdir}/usr/share/doc \
41 ${pkgdir}/usr/share/man
44 # vim:set ts=2 sw=2 et: