diff options
author | Bermond | 2016-06-07 17:31:55 -0300 |
---|---|---|
committer | Bermond | 2016-06-07 17:31:55 -0300 |
commit | 30053ab54ad6a8c5d5cabe2c286053a0d20cbb2b (patch) | |
tree | 16bfdffc63dc1b30bd266aaeb128f9c073dda451 | |
parent | 1eada5f28d3dce5e5e74fa3745bc2da12c966406 (diff) | |
download | aur-30053ab54ad6a8c5d5cabe2c286053a0d20cbb2b.tar.gz |
Fixed regular expressions in _srcver
-rw-r--r-- | .SRCINFO | 2 | ||||
-rwxr-xr-x | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -3,7 +3,7 @@ pkgbase = imagemagick-full pkgdesc = An image viewing/manipulation program (Q32 HDRI with all libs and features) pkgver = 7.0.1.9 - pkgrel = 2 + pkgrel = 3 url = http://www.imagemagick.org/ arch = i686 arch = x86_64 @@ -16,10 +16,10 @@ _gs_font_dir="/usr/share/fonts/Type1" _windows_font_dir="/usr/share/fonts/WindowsFonts" _digest="http://www.imagemagick.org/download/digest.rdf" _srcname="ImageMagick" -_srcver=$(curl -s "$_digest" | grep "$_srcname"-7[0-9\.-]*.tar.xz | sed 's/[^0-9\.-]*//g' | sed -r 's/.//;s/.{2}$//') +_srcver=$(curl -s "$_digest" | grep "${_srcname}\-7[0-9\.\-]*\.tar\.xz" | sed 's/[^0-9\.\-]*//g' | sed -r 's/.//;s/.{2}$//') pkgname=imagemagick-full pkgver="$(echo ${_srcver} | tr '-' '.')" -pkgrel=2 +pkgrel=3 pkgdesc="An image viewing/manipulation program (Q32 HDRI with all libs and features)" arch=('i686' 'x86_64') url="http://www.imagemagick.org/" |