From fd1f00ca91f3be7ff62cfab35e025ec71d534cc4 Mon Sep 17 00:00:00 2001 From: noraj Date: Sun, 1 Dec 2024 17:42:48 +0100 Subject: [PATCH] airgeddon: bump to 11.40 --- packages/airgeddon/PKGBUILD | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/airgeddon/PKGBUILD b/packages/airgeddon/PKGBUILD index 71c8d7f3121..091c55dd305 100644 --- a/packages/airgeddon/PKGBUILD +++ b/packages/airgeddon/PKGBUILD @@ -2,7 +2,7 @@ # See COPYING for license details. pkgname=airgeddon -pkgver=v11.31.r0.g7335109 +pkgver=v11.40.r0.g48b1bb5 pkgrel=1 epoch=1 pkgdesc='Multi-use bash script for Linux systems to audit wireless networks.' @@ -25,7 +25,12 @@ sha512sums=('SKIP') pkgver() { cd $pkgname - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + ( set -o pipefail + git describe --long --tags --abbrev=7 2>/dev/null | + sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "%s.%s" "$(git rev-list --count HEAD)" \ + "$(git rev-parse --short=7 HEAD)" + ) } prepare() {