Date: Thursday, August 16, 2018 @ 22:10:03 Author: anthraxx Revision: 372025
addpkg: hcxtools 4.2.1+15+gbc206cc-1 Added: hcxtools/ hcxtools/repos/ hcxtools/trunk/ hcxtools/trunk/PKGBUILD ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Added: hcxtools/trunk/PKGBUILD =================================================================== --- hcxtools/trunk/PKGBUILD (rev 0) +++ hcxtools/trunk/PKGBUILD 2018-08-16 22:10:03 UTC (rev 372025) @@ -0,0 +1,33 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgname=hcxtools +_gitcommit=bc206cc6fbc384fc1b03cc35773afd293ff3a3f1 +pkgver=4.2.1+15+gbc206cc +pkgrel=1 +pkgdesc='Portable solution for capturing wlan traffic and conversion to hashcat and John the Ripper formats' +url='https://github.com/ZerBea/hcxtools' +arch=('x86_64') +license=('MIT') +depends=('curl' 'libpcap' 'zlib' 'openssl') +makedepends=('git') +source=("${pkgname}::git+https://github.com/ZerBea/hcxtools#commit=${_gitcommit}") +sha512sums=('SKIP') + +pkgver() { + cd ${pkgname} + git describe --tags|sed -r 's|v?(.+)|\1|'|sed 's|-|+|g' +} + +build() { + cd ${pkgname} + make +} + +package() { + cd ${pkgname} + make DESTDIR="${pkgdir}" PREFIX=/usr install + install -Dm 644 README.md changelog -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 license.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" +} + +# vim: ts=2 sw=2 et: