summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorshyam2023-09-05 15:23:02 +0530
committershyam2023-09-05 15:23:02 +0530
commit699a720389f722130fafba1540f14bfb8ae1817a (patch)
treeee20c9a1a6ade62207abcfa5e758ab1831aeda3b /PKGBUILD
parentce67e3fa0642cda8300eb1ad7fe6c1c80345d49e (diff)
downloadaur-nishang-scripts.tar.gz
Updated to commit version d87229d
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1bf2fc3e72c9..e77da602b782 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Shyam <contact at via dot aur>
pkgname=nishang-scripts
_pkgver=nishang
-pkgver=0.7.6.r54.gd87229d
+pkgver=d87229d
pkgrel=1
pkgdesc="Nishang is a framework and collection of scripts and payloads used during penetration testing tasks."
arch=('any')
@@ -12,11 +12,11 @@ makedepends=('git')
provides=('nishang-scripts')
conflicts=('nishang-git')
-source=("git+https://github.com/samratashok/nishang.git#commit=d87229d2112456470ad30a50edbf312463f2b09a")
+source=("git+https://github.com/samratashok/nishang.git")
pkgver() {
cd "$_pkgver"
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git log --pretty=format:'{%n "commit": "%H"}' | head -n 2| jq .commit -r | cut -c 1-7
}
package() {