[arch-commits] Commit in imagemagick/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Mon Apr 11 18:49:40 UTC 2011
Date: Monday, April 11, 2011 @ 14:49:40
Author: jgc
Revision: 119490
upgpkg: imagemagick 6.6.9.4-1
Update to 6.6.9-4, remove AC_PATH_XTRA
Modified:
imagemagick/trunk/PKGBUILD
----------+
PKGBUILD | 34 +++++++++++++++++++++++-----------
1 file changed, 23 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-04-11 18:46:36 UTC (rev 119489)
+++ PKGBUILD 2011-04-11 18:49:40 UTC (rev 119490)
@@ -3,7 +3,7 @@
pkgbase=imagemagick
pkgname=('imagemagick' 'imagemagick-doc')
-pkgver=6.6.9.1
+pkgver=6.6.9.4
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.imagemagick.org/"
@@ -13,24 +13,26 @@
makedepends=('ghostscript' 'openexr' 'libwmf' 'librsvg' 'libxml2' 'jasper' 'libpng')
source=(ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz \
libpng_mmx_patch_x86_64.patch perlmagick.rpath.patch)
-md5sums=('b8c7dfbad2eb9b9c39666af07cb6db83'
+md5sums=('e9355aa38daa1d2c42d7e37108bc0dfa'
'069980fc2590c02aed86420996259302'
'ff9974decbfe9846f8e347239d87e4eb')
-sha1sums=('924e1841a1518bf394f5a18d4fd25414bdf9f63d'
+sha1sums=('e3cbf6d61bf29ec8be6796c89b04f10495a6e52d'
'e42f3acbe85b6098af75c5cecc9a254baaa0482c'
'23405f80904b1de94ebd7bd6fe2a332471b8c283')
-
build() {
cd "${srcdir}"/ImageMagick-${pkgver%.*}-${pkgver##*.}
if [ "${CARCH}" = 'x86_64' ]; then
- patch -Np1 < ../libpng_mmx_patch_x86_64.patch
+ patch -Np1 -i ../libpng_mmx_patch_x86_64.patch
fi
- patch -p0 < ../perlmagick.rpath.patch
+ patch -Np0 -i ../perlmagick.rpath.patch
+ sed '/AC_PATH_XTRA/d' -i configure.ac
+ autoreconf
+
./configure --prefix=/usr --sysconfdir=/etc --with-modules --disable-static \
- --enable-openmp --with-x --with-wmf --with-openexr --with-xml \
+ --enable-openmp --with-wmf --with-openexr --with-xml \
--with-gslib --with-gs-font-dir=/usr/share/fonts/Type1 \
--with-perl --with-perl-options="INSTALLDIRS=vendor" \
--without-gvc --without-djvu --without-autotrace --with-jp2 \
@@ -47,9 +49,19 @@
'libxml2: for XML support'
'jasper: for JPEG-2000 support'
'libpng: for PNG support')
- backup=('etc/ImageMagick/colors.xml' 'etc/ImageMagick/log.xml' 'etc/ImageMagick/policy.xml'
- 'etc/ImageMagick/type-dejavu.xml' 'etc/ImageMagick/type-ghostscript.xml'
- 'etc/ImageMagick/type-windows.xml' 'etc/ImageMagick/type.xml')
+ backup=('etc/ImageMagick/coder.xml'
+ 'etc/ImageMagick/colors.xml'
+ 'etc/ImageMagick/delegates.xml'
+ 'etc/ImageMagick/log.xml'
+ 'etc/ImageMagick/magic.xml'
+ 'etc/ImageMagick/mime.xml'
+ 'etc/ImageMagick/policy.xml'
+ 'etc/ImageMagick/sRGB.icm'
+ 'etc/ImageMagick/thresholds.xml'
+ 'etc/ImageMagick/type.xml'
+ 'etc/ImageMagick/type-dejavu.xml'
+ 'etc/ImageMagick/type-ghostscript.xml'
+ 'etc/ImageMagick/type-windows.xml')
options=('!makeflags' '!docs')
cd "${srcdir}"/ImageMagick-${pkgver%.*}-${pkgver##*.}
@@ -58,7 +70,7 @@
install -Dm644 NOTICE "${pkgdir}/usr/share/licenses/imagemagick/NOTICE"
#Cleaning
- find "${pkgdir}" -name '*.bs' -exec rm {} \;
+ find "${pkgdir}" -name '*.bs' -delete
rm -f "${pkgdir}"/usr/lib/*.la
}
More information about the arch-commits
mailing list