diff options
Diffstat (limited to 'community/devil')
-rw-r--r-- | community/devil/PKGBUILD | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/community/devil/PKGBUILD b/community/devil/PKGBUILD index 06eed72cd..d14588959 100644 --- a/community/devil/PKGBUILD +++ b/community/devil/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 63526 2012-02-05 11:53:30Z ibiru $ +# $Id: PKGBUILD 70147 2012-04-30 19:17:33Z lcarlier $ # Maintainer: Laurent Carlier <lordheavym@gmail.org> # Contributor: damir <damir@archlinux.org> # Contributor: TheHoff <forums> pkgname=devil pkgver=1.7.8 -pkgrel=10 +pkgrel=11 pkgdesc="Library for reading several different image formats" arch=('i686' 'x86_64') url="http://openil.sourceforge.net/" @@ -18,16 +18,21 @@ md5sums=('7918f215524589435e5ec2e8736d5e1d' '0f839ccefd43b0ee8b4b3f99806147fc') build() { - cd ${srcdir}/devil-$pkgver + cd ${srcdir}/devil-$pkgver - patch -Np1 -i ${srcdir}/libpng14.patch + patch -Np1 -i ${srcdir}/libpng14.patch - ./configure --prefix=/usr --enable-ILU - make + if [[ $CARCH == x86_64 ]]; then + ./configure --prefix=/usr --enable-ILU + else + ./configure --prefix=/usr --enable-ILU --disable-sse3 + fi + + make } package() { - cd ${srcdir}/devil-$pkgver + cd ${srcdir}/devil-$pkgver - make prefix=${pkgdir}/usr install + make prefix=${pkgdir}/usr install } |