diff options
author | envolution | 2024-11-04 22:48:49 +0000 |
---|---|---|
committer | envolution | 2024-11-04 22:48:49 +0000 |
commit | db511d026d2847be9095d9bbb157c8bde294cd80 (patch) | |
tree | 7ee96ab8f084eb42d3e103f1d0f779b8cdb5759d | |
parent | aad27633a4139b30ae84ef939c2f3b5a62442101 (diff) | |
download | aur-db511d026d2847be9095d9bbb157c8bde294cd80.tar.gz |
Auto update aircrack-ng-git : 1.7+r4701+g8177f63da
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .nvchecker.toml | 3 | ||||
-rw-r--r-- | PKGBUILD | 14 |
3 files changed, 16 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = aircrack-ng-git pkgdesc = Key cracker for the 802.11 WEP and WPA-PSK protocols - pkgver = 1.7 + pkgver = 1.7+r4701+g8177f63da pkgrel = 1 epoch = 1 url = https://www.aircrack-ng.org diff --git a/.nvchecker.toml b/.nvchecker.toml new file mode 100644 index 000000000000..01276662d65e --- /dev/null +++ b/.nvchecker.toml @@ -0,0 +1,3 @@ +[aircrack-ng-git] +source="cmd" +cmd="~/nvchecker/github_version.sh aircrack-ng aircrack-ng" @@ -12,8 +12,8 @@ # Contributor: codyps <archlinux@codyps.com> pkgname=aircrack-ng-git -_pkgver=1.7 -pkgver=1.7+r661+g8177f63d +_pkgver=1.7+r4701+g8177f63da +pkgver=1.7+r4701+8177f63da pkgrel=1 epoch=1 pkgdesc="Key cracker for the 802.11 WEP and WPA-PSK protocols" @@ -39,6 +39,16 @@ pkgver() { cd aircrack-ng git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g' } +pkgver() { + cd aircrack-ng + + _version=$(git tag --sort=-v:refname --list | grep '^[0-9.]*$' | head -n1) + _commits=$(git rev-list --count HEAD) + _short_commit_hash=$(git rev-parse --short=9 HEAD) + echo "${_version}+r${_commits}+${_short_commit_hash}" +} + + prepare() { cd aircrack-ng |