[arch-commits] Commit in hcxtools/repos (community-x86_64 community-x86_64/PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Thu Aug 16 22:10:11 UTC 2018


    Date: Thursday, August 16, 2018 @ 22:10:10
  Author: anthraxx
Revision: 372026

archrelease: copy trunk to community-x86_64

Added:
  hcxtools/repos/community-x86_64/
  hcxtools/repos/community-x86_64/PKGBUILD
    (from rev 372025, hcxtools/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: hcxtools/repos/community-x86_64/PKGBUILD (from rev 372025, hcxtools/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-08-16 22:10:10 UTC (rev 372026)
@@ -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:



More information about the arch-commits mailing list