diff options
author | PumpkinCheshire | 2020-11-04 21:52:39 +1100 |
---|---|---|
committer | PumpkinCheshire | 2020-11-04 21:52:39 +1100 |
commit | 6e0dd48bc039275a860804402a5d703bba358ec2 (patch) | |
tree | 36155a52cd3073dab9856923bdae35067400e37c | |
parent | 5f4aaccd8f31a2f8c94789eaabd7c879d8d996a3 (diff) | |
download | aur-6e0dd48bc039275a860804402a5d703bba358ec2.tar.gz |
remove v in version
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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')" } |