Build error due to invalid pkgver:
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: grep: ChangeLog: No such file or directory
.r21000.g3331c9ed8
Can you make a pre-compiled version (imagemagick-bin?)?
IM7-GS-policy.patch no longer exists in the arch repo source, so this fails to build
Failure while trying to download perlmagick.rpath.patch:
-> Downloading perlmagick.rpath.patch...
--2018-05-19 14:36:39-- <https://projects.archlinux.org/svntogit/packages.git/plain/trunk/perlmagick.rpath.patch?h=packages/imagemagick>
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving projects.archlinux.org (projects.archlinux.org)... 5.9.250.164, 2a01:4f8:160:3033::2
Connecting to projects.archlinux.org (projects.archlinux.org)|5.9.250.164|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: <https://git.archlinux.org/svntogit/packages.git/plain/trunk/perlmagick.rpath.patch?h=packages/imagemagick> [following]
--2018-05-19 14:36:40-- <https://git.archlinux.org/svntogit/packages.git/plain/trunk/perlmagick.rpath.patch?h=packages/imagemagick>
Resolving git.archlinux.org (git.archlinux.org)... 5.9.250.164, 2a01:4f8:160:3033::2
Connecting to git.archlinux.org (git.archlinux.org)|5.9.250.164|:443... connected.
HTTP request sent, awaiting response... 404 Not found
2018-05-19 14:36:40 ERROR 404: Not found.
==> ERROR: Failure while downloading <https://projects.archlinux.org/svntogit/packages.git/plain/trunk/perlmagick.rpath.patch?h=packages/imagemagick>
Aborting...
The new repository is located at https://github.com/ImageMagick/ImageMagick.git
Simply edit the PKGBUILD to replace
source=("${_srcdir}::git+http://git.imagemagick.org/repos/ImageMagick.git"
with
source=("${_srcdir}::git+https://github.com/ImageMagick/ImageMagick.git"
If having this problem: montage: unable to read font `(null)'
the reason can be that /usr/share/fonts/Type1 does not exist. This can be solved by installing https://aur.archlinux.org/packages/gsfonts-type1/
you might need to remove already installed gsfonts if you have it.
"libcl" needs removed from line 86 as well