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 /PKGBUILD | |
parent | 1eada5f28d3dce5e5e74fa3745bc2da12c966406 (diff) | |
download | aur-30053ab54ad6a8c5d5cabe2c286053a0d20cbb2b.tar.gz |
Fixed regular expressions in _srcver
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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/" |