summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiang Gao2016-08-11 12:55:56 -0400
committerXiang Gao2016-08-11 12:55:56 -0400
commit5d78f4e90d0b3a811418993a60a2f8cdd5da60e9 (patch)
tree30b531d4a843e023faed74a4c42578f7bcb08d59
parent8158a66c33117ed383a531a4c65bc7369dbff091 (diff)
downloadaur-5d78f4e90d0b3a811418993a60a2f8cdd5da60e9.tar.gz
update
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b0259e29f2c..627e46ecfa7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ depends=('r>=3.1.0' 'r-digest' 'r-crayon' 'r-praise' 'r-magrittr' 'r-r6')
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() {