summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiang Gao2016-08-11 12:54:37 -0400
committerXiang Gao2016-08-11 12:54:37 -0400
commit06f8e105fae8fb92459632332203d4cf43c97322 (patch)
treecdd867b7c8293a7ac92b57753bd958014113b1c0
parent5815e7ef1e712e4b2345e46141da6b2ffcbbf711 (diff)
downloadaur-06f8e105fae8fb92459632332203d4cf43c97322.tar.gz
update
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bcae058d0780..01b4a4036b0f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ depends=('r>=3.0.2' 'r-httr>=0.4' 'r-memoise>=1.0.0' 'r-whisker' 'r-digest' 'r-r
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() {