[arch-commits] Commit in (4 files)

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


    Date: Thursday, August 16, 2018 @ 22:11:17
  Author: anthraxx
Revision: 372027

addpkg: hcxdumptool 4.2.1+32+gf1dbb02-1

Added:
  hcxdumptool/
  hcxdumptool/repos/
  hcxdumptool/trunk/
  hcxdumptool/trunk/PKGBUILD

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

Added: hcxdumptool/trunk/PKGBUILD
===================================================================
--- hcxdumptool/trunk/PKGBUILD	                        (rev 0)
+++ hcxdumptool/trunk/PKGBUILD	2018-08-16 22:11:17 UTC (rev 372027)
@@ -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