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

Levente Polyak anthraxx at archlinux.org
Tue Mar 19 20:21:43 UTC 2019


    Date: Tuesday, March 19, 2019 @ 20:21:42
  Author: anthraxx
Revision: 442817

upgpkg: hcxtools 5.1.4-1

Modified:
  hcxtools/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-19 20:14:25 UTC (rev 442816)
+++ PKGBUILD	2019-03-19 20:21:42 UTC (rev 442817)
@@ -1,8 +1,7 @@
 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
 
 pkgname=hcxtools
-_gitcommit=a8b9b6128f3cd46d365eaa5f9618ba09a10b847c
-pkgver=5.1.3
+pkgver=5.1.4
 pkgrel=1
 pkgdesc='Portable solution for capturing wlan traffic and conversion to hashcat and John the Ripper formats'
 url='https://github.com/ZerBea/hcxtools'
@@ -9,22 +8,19 @@
 arch=('x86_64')
 license=('MIT')
 depends=('curl' 'libpcap' 'zlib' 'openssl')
-makedepends=('git')
-source=("${pkgname}::git+https://github.com/ZerBea/hcxtools#commit=${_gitcommit}")
-sha512sums=('SKIP')
+source=(https://github.com/ZerBea/hcxtools/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+        https://github.com/ZerBea/hcxtools/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz.asc)
+sha512sums=('30e18fd522a488112580a2f9187a933c0d44cdabb3cfed038756edeae05c1371ce99839c02562adfa9dc0067522de9dc7553228ae371902e41fc982e69cffb28'
+            '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