updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / airdrop-ng / PKGBUILD
blobabee8c7dae9299c32042cb5ec224a18611086c98
1 # Maintainer: Techlive Zheng <techlivezheng [at] gmail [dot] com>
3 _pkgbase=aircrack-ng
4 pkgname=airdrop-ng
5 pkgdesc="A rule based deauth tool on aircrack-ng"
6 pkgver=1.1
7 pkgrel=1
8 arch=('i686' 'x86_64')
9 url="http://www.aircrack-ng.org"
10 license=('GPLv2')
11 depends=('python2' 'pylorcon' 'lorcon-old-svn')
12 conflicts=('aircrack-ng-scripts')
13 source=("http://download.aircrack-ng.org/${_pkgbase}-${pkgver}.tar.gz")
16 build() {
17   return
20 package() {
21   cd ${srcdir}/${_pkgbase}-${pkgver}/scripts
23   sed -i "s/python/python2/g" airdrop-ng/airdrop-ng.py
25   # airdrop-ng bin
26   install -Dm755 airdrop-ng/airdrop-ng.py               ${pkgdir}/usr/bin/airdrop-ng                              || return 1
28   # airdrop-ng doc
29   install -Dm644 airdrop-ng/README                      ${pkgdir}/usr/share/doc/airdrop-ng/README                 || return 1
30   install -Dm644 airdrop-ng/docs/Apple.sample.txt       ${pkgdir}/usr/share/doc/airdrop-ng/Apple.sample.txt       || return 1
31   install -Dm644 airdrop-ng/docs/dropRules.conf.example ${pkgdir}/usr/share/doc/airdrop-ng/dropRules.conf.example || return 1
33   # airdrop-ng man page
34   install -Dm644 airdrop-ng/docs/airdrop-ng.1           ${pkgdir}/usr/share/man/man1/airdrop-ng.1                 || return 1
36   # airdrop-ng libs
37   install -Dm644 airdrop-ng/lib/colorize.py             ${pkgdir}/usr/lib/airdrop-ng/colorize.py                  || return 1
38   install -Dm644 airdrop-ng/lib/libOuiParse.py          ${pkgdir}/usr/lib/airdrop-ng/libOuiParse.py               || return 1
39   install -Dm644 airdrop-ng/lib/libDumpParse.py         ${pkgdir}/usr/lib/airdrop-ng/libDumpParse.py              || return 1
42 md5sums=('f7a24ed8fad122c4187d06bfd6f998b4')