summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPumpkinCheshire2020-11-04 21:52:39 +1100
committerPumpkinCheshire2020-11-04 21:52:39 +1100
commit6e0dd48bc039275a860804402a5d703bba358ec2 (patch)
tree36155a52cd3073dab9856923bdae35067400e37c /PKGBUILD
parent5f4aaccd8f31a2f8c94789eaabd7c879d8d996a3 (diff)
downloadaur-6e0dd48bc039275a860804402a5d703bba358ec2.tar.gz
remove v in version
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 62cad3bff41..074ab85fa1e 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')"
}