diff options
Diffstat (limited to 'extra/imagemagick/PKGBUILD')
-rw-r--r-- | extra/imagemagick/PKGBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/extra/imagemagick/PKGBUILD b/extra/imagemagick/PKGBUILD index 88a87a2f3..3c81ee687 100644 --- a/extra/imagemagick/PKGBUILD +++ b/extra/imagemagick/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 198679 2013-11-02 02:19:38Z eric $ +# $Id: PKGBUILD 198752 2013-11-03 00:30:32Z eric $ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgbase=imagemagick pkgname=('imagemagick' 'imagemagick-doc') pkgver=6.8.7.4 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url="http://www.imagemagick.org/" license=('custom') @@ -27,12 +27,15 @@ prepare() { build() { cd ImageMagick-${pkgver%.*}-${pkgver##*.} + [[ $CARCH = "i686" ]] && EXTRAOPTS="--with-gcc-arch=i686" + [[ $CARCH = "x86_64" ]] && EXTRAOPTS="--with-gcc-arch=x86-64" + ./configure --prefix=/usr --sysconfdir=/etc --with-modules \ --enable-hdri --with-wmf --with-openexr --with-xml --with-lcms2 --with-jp2 \ --with-webp --with-gslib --with-gs-font-dir=/usr/share/fonts/Type1 \ --with-perl --with-perl-options="INSTALLDIRS=vendor" --with-lqr --with-rsvg \ --enable-opencl --without-gvc --without-djvu --without-autotrace \ - --without-jbig --without-fpx --without-dps --without-fftw + --without-jbig --without-fpx --without-dps --without-fftw $EXTRAOPTS make } |