Skip to content

Commit

Permalink
jsearch: fix #4425
Browse files Browse the repository at this point in the history
  • Loading branch information
noptrix committed Dec 5, 2024
1 parent 28c79ca commit ee874a6
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/jsearch/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# See COPYING for license details.

pkgname=jsearch
pkgver=34.15a5285
pkgrel=5
pkgver=44.87cf9c1
pkgrel=1
pkgdesc='Simple script that grep infos from javascript files.'
arch=('any')
groups=('blackarch' 'blackarch-recon' 'blackarch-webapp')
Expand All @@ -17,7 +17,12 @@ sha512sums=('SKIP')
pkgver() {
cd $pkgname

echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
( 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)"
)
}

package() {
Expand Down

0 comments on commit ee874a6

Please sign in to comment.