summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e8e1c614dbd1..1a34843883a8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = nishang-scripts
pkgdesc = Nishang is a framework and collection of scripts and payloads used during penetration testing tasks.
- pkgver = 0.7.6.r54.gd87229d
+ pkgver = d87229d
pkgrel = 1
url = https://github.com/samratashok/nishang
arch = any
@@ -9,7 +9,7 @@ pkgbase = nishang-scripts
depends = powershell
provides = nishang-scripts
conflicts = nishang-git
- source = git+https://github.com/samratashok/nishang.git#commit=d87229d2112456470ad30a50edbf312463f2b09a
+ source = git+https://github.com/samratashok/nishang.git
sha256sums = SKIP
pkgname = nishang-scripts
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() {