summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiang Gao2016-08-11 12:54:41 -0400
committerXiang Gao2016-08-11 12:54:41 -0400
commit854bed93a4e5eb9301c2037997859976d69e5b05 (patch)
tree1f66eeba349469f61348a1b169725ff26ad8315c
parentcdbbfc439165ff24bd3acc65e7d8c3bf46b0019d (diff)
downloadaur-854bed93a4e5eb9301c2037997859976d69e5b05.tar.gz
update
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ad291a28ffb..8376d8aca29 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ depends=('r>=2.4.1')
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() {