summaryrefslogtreecommitdiff
path: root/extra/imagemagick/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-11-04 01:27:27 -0800
committerroot <root@rshg054.dnsready.net>2013-11-04 01:27:27 -0800
commit058983fb5cb16dbb25368dd464cbcf27205b3f93 (patch)
tree4f07b3aba435304aac5c5f93e5a9784031dabd40 /extra/imagemagick/PKGBUILD
parent1ce58386c5ee7086ac6848f35cade5d45bf86764 (diff)
Mon Nov 4 01:26:54 PST 2013
Diffstat (limited to 'extra/imagemagick/PKGBUILD')
-rw-r--r--extra/imagemagick/PKGBUILD9
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
}