summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPumpkinCheshire2020-11-04 21:52:39 +1100
committerPumpkinCheshire2020-11-04 21:52:39 +1100
commit6e0dd48bc039275a860804402a5d703bba358ec2 (patch)
tree36155a52cd3073dab9856923bdae35067400e37c
parent5f4aaccd8f31a2f8c94789eaabd7c879d8d996a3 (diff)
downloadaur-6e0dd48bc039275a860804402a5d703bba358ec2.tar.gz
remove v in version
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a9f32543ee3c..081214a8adfa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = whatweb-git
pkgdesc = Next generation web scanner that identifies what websites are running.
- pkgver = v0.5.3.r28.4257078b
+ pkgver = 0.5.3.r28.4257078b
pkgrel = 1
url = http://www.morningstarsecurity.com/research/whatweb
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 62cad3bff418..074ab85fa1ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=whatweb-git
_name=whatweb
-pkgver=v0.5.3.r28.4257078b
+pkgver=0.5.3.r28.4257078b
pkgrel=1
pkgdesc="Next generation web scanner that identifies what websites are running."
arch=('i686' 'x86_64')
@@ -35,7 +35,7 @@ package() {
pkgver() {
cd $_name
- printf "%s" "$(git describe --tags --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+ printf "%s" "$(git describe --tags --long | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g')"
}