[arch-commits] Commit in hcxdumptool/repos (2 files)

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


    Date: Thursday, August 16, 2018 @ 22:11:25
  Author: anthraxx
Revision: 372028

archrelease: copy trunk to community-x86_64

Added:
  hcxdumptool/repos/community-x86_64/
  hcxdumptool/repos/community-x86_64/PKGBUILD
    (from rev 372027, hcxdumptool/trunk/PKGBUILD)

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

Copied: hcxdumptool/repos/community-x86_64/PKGBUILD (from rev 372027, hcxdumptool/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-08-16 22:11:25 UTC (rev 372028)
@@ -0,0 +1,33 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=hcxdumptool
+_gitcommit=f1dbb0276acaab81e4210ad77d842ba37aa4af04
+pkgver=4.2.1+32+gf1dbb02
+pkgrel=1
+pkgdesc='Small tool to capture packets from wlan devices'
+url='https://github.com/ZerBea/hcxdumptool'
+arch=('x86_64')
+license=('MIT')
+depends=('glibc')
+makedepends=('git')
+source=("${pkgname}::git+https://github.com/ZerBea/hcxdumptool#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