diff options
author | heichblatt | 2016-07-09 20:17:15 +0200 |
---|---|---|
committer | heichblatt | 2016-07-09 20:17:15 +0200 |
commit | dc6fcc4b3732357f756183382fa9cecc4ed3c82d (patch) | |
tree | c8db7cd6d10d6203caa668f05d5619a1dff1af8d | |
download | aur-dc6fcc4b3732357f756183382fa9cecc4ed3c82d.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 37 |
3 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..812972dbb1e0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = wifijammer-git + pkgdesc = Continuously jam all wifi clients and access points within range. + pkgver = r66.abf7ea0 + pkgrel = 1 + url = https://github.com/DanMcInerney/wifijammer + arch = x86_64 + license = BSD + makedepends = git + depends = scapy + depends = python2 + provides = wifijammer-git + conflicts = wifijammer-git + source = wifijammer-git::git+https://github.com/DanMcInerney/wifijammer.git#branch=master + md5sums = SKIP + +pkgname = wifijammer-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..444e5704caa9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +wifijammer-git* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d687c4949860 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Hannes Eichblatt <lists@hanneseichblatt.de> +pkgname='wifijammer-git' # '-bzr', '-git', '-hg' or '-svn' +pkgver=r66.abf7ea0 +pkgrel=1 +pkgdesc="Continuously jam all wifi clients and access points within range." +arch=("x86_64") +url="https://github.com/DanMcInerney/wifijammer" +license=('BSD') +groups=() +depends=('scapy' 'python2') +makedepends=('git') # 'bzr', 'git', 'mercurial' or 'subversion' +provides=("${pkgname%-VCS}") +conflicts=("${pkgname%-VCS}") +replaces=() +backup=() +options=() +install= +source=(${pkgname}'::git+https://github.com/DanMcInerney/wifijammer.git#branch=master') +noextract=() +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-VCS}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + cd "$srcdir/${pkgname%-VCS}" + sed -i '1 s/python/python2/' wifijammer.py +} + +package() { + cd "$srcdir/${pkgname%-VCS}" + /usr/bin/install -D -m 744 ./wifijammer.py ${pkgdir}/usr/bin/wifijammer + /usr/bin/install -D -m 644 ./README.md ${pkgdir}/usr/share/doc/${pkgname%-VCS}/README.md + /usr/bin/grep -A 100000 -e "^License$" README.md > ${pkgdir}/usr/share/doc/${pkgname%-VCS}/LICENSE.md +} |