summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiang Gao2016-08-11 12:55:37 -0400
committerXiang Gao2016-08-11 12:55:37 -0400
commit0d1af627fdf3ecefeede06e03c44c1dd547468c7 (patch)
tree846ad311a85cdb0d8e458bd939ae14c5f28f8ea6
parent0f21e1c204f9f16d719e62aff7439f0cdec4c633 (diff)
downloadaur-0d1af627fdf3ecefeede06e03c44c1dd547468c7.tar.gz
update
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 68f7f50971a..94a62a1e4cf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ depends=('r>=3.0.0')
makedepends=('curl' 'grep' 'python-html2text')
pkgver() {
- curl "$_cran" 2>/dev/null|html2text|grep -oP '(?<=Version:).*'|grep -o '[0-9\.]*'
+ curl "$_cran" 2>/dev/null|html2text|grep -oP '(?<=Version:).*'|tr '-' '.'|grep -o '[0-9\.]*'
}
build() {