# Description: An image viewing/manipulation program # URL: https://imagemagick.org/ # Maintainer: KRAK3N Team, extra ports at krak3n dot my # Depends on: lcms2 librsvg libxt name=imagemagick version=7.1.2.7 release=1 source=(https://www.${name}.org/archive/releases/ImageMagick-${version%.*}-${version##*.}.tar.xz) PKGMK_KEEP_LIBTOOL=yes build() { cd ImageMagick-${version%.*}-${version##*.} ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib \ --libexecdir=/usr/lib/$name \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --enable-shared --mandir=/usr/share/man \ --with-fftw --with-gslib --with-hdri --with-heic --with-modules \ --with-perl --with-png --with-rsvg --with-threads --with-tiff \ --with-webp --with-x --with-xml make make DESTDIR=$PKG install }