[arch-commits] Commit in hcxdumptool/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Tue Mar 19 20:26:41 UTC 2019


    Date: Tuesday, March 19, 2019 @ 20:26:40
  Author: anthraxx
Revision: 442819

upgpkg: hcxdumptool 5.1.4-1

Modified:
  hcxdumptool/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-19 20:21:49 UTC (rev 442818)
+++ PKGBUILD	2019-03-19 20:26:40 UTC (rev 442819)
@@ -1,8 +1,7 @@
 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
 
 pkgname=hcxdumptool
-_gitcommit=a703613e98da075dbc1b193f7d5631647c477b89
-pkgver=5.1.3
+pkgver=5.1.4
 pkgrel=1
 pkgdesc='Small tool to capture packets from wlan devices'
 url='https://github.com/ZerBea/hcxdumptool'
@@ -9,22 +8,19 @@
 arch=('x86_64')
 license=('MIT')
 depends=('glibc')
-makedepends=('git')
-source=("${pkgname}::git+https://github.com/ZerBea/hcxdumptool#commit=${_gitcommit}")
-sha512sums=('SKIP')
+source=(https://github.com/ZerBea/hcxdumptool/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+        https://github.com/ZerBea/hcxdumptool/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz.asc)
+sha512sums=('2e0eed2de167c4d1cb9ff804e3272dc072ede45aa82bd8cdca020a3375b976df55e5620689d0b0a142eb29e40b82334e8b59a5c0a93ced66e98d5f0b5d532397'
+            'SKIP')
+validpgpkeys=('5920CE1C567948AFD2C0A9B7375516A45DB88630') # ZeroBeat <ZeroBeat at gmx.de>
 
-pkgver() {
-  cd ${pkgname}
-  git describe --long --tags | sed -E 's|v?(.+)|\1|' | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed -E 's|\.r0\.\w+$||'
-}
-
 build() {
-  cd ${pkgname}
+  cd ${pkgname}-${pkgver}
   make
 }
 
 package() {
-  cd ${pkgname}
+  cd ${pkgname}-${pkgver}
   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}"



More information about the arch-commits mailing list