diff options
author | Christoph Gysin | 2017-02-13 12:05:38 +0200 |
---|---|---|
committer | Christoph Gysin | 2017-02-13 12:05:44 +0200 |
commit | 1a2d750ccc67f7a57a025f6b4749bb457f319a98 (patch) | |
tree | d6f7b83a06436245015fa8a394d73c814fdc9848 | |
parent | 15ffe16884444c3bd11197151fde8417d4b2032f (diff) | |
download | aur-1a2d750ccc67f7a57a025f6b4749bb457f319a98.tar.gz |
remove 'v' prefix from version
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Mon Feb 13 09:54:09 UTC 2017 +# Mon Feb 13 10:05:42 UTC 2017 pkgbase = nodejs-serverless-git pkgdesc = Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more - pkgver = v1.6.1.36.g88c9dc88 + pkgver = 1.6.1.36.g88c9dc88 pkgrel = 1 url = https://serverless.com arch = any @@ -2,7 +2,7 @@ pkgname=nodejs-serverless-git _pkgname=serverless -pkgver=v1.6.1.36.g88c9dc88 +pkgver=1.6.1.36.g88c9dc88 pkgrel=1 pkgdesc="Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more" arch=('any') @@ -18,6 +18,7 @@ sha256sums=('SKIP') pkgver() { cd "${srcdir}/${_pkgname}" local ver="$(git describe --tags)" + ver="${ver/v/}" printf "%s" "${ver//-/.}" } |