summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorXiang Gao2016-08-11 12:55:41 -0400
committerXiang Gao2016-08-11 12:55:41 -0400
commit1631e357658ad70538b13128ecc5504aaf013a29 (patch)
treebc618d7b221de3a0d445c9dae206d671548525a3 /PKGBUILD
parent17f59de2a2d4e8d46cabcabb8c37cbe9094d6397 (diff)
downloadaur-1631e357658ad70538b13128ecc5504aaf013a29.tar.gz
update
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bdbfd3f4e475..a6b98f93df59 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ depends=('r>=3.0.2' 'r-stringr>=0.5' 'r-stringi' 'r-brew' 'r-digest' 'r-rcpp>=
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() {