Skip to content

Commit

Permalink
cook: better pkgver (#4062)
Browse files Browse the repository at this point in the history
  • Loading branch information
noraj authored Jan 23, 2024
1 parent 7ec1536 commit b0c4aa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cook/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See COPYING for license details.

pkgname=cook
pkgver=246.9c8a08b
pkgver=v2.1.4.r3.g9c8a08b
pkgrel=1
groups=('blackarch' 'blackarch-automation')
pkgdesc="Easily create word's permutation and combination to generate complex wordlists and passwords."
Expand All @@ -16,7 +16,7 @@ sha512sums=('SKIP')
pkgver() {
cd $pkgname

echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
Expand Down

0 comments on commit b0c4aa9

Please sign in to comment.