[arch-commits] CVS update of arch/build/multimedia/imagemagick (PKGBUILD)

Eric Belanger eric at archlinux.org
Thu May 24 02:21:57 UTC 2007


    Date: Wednesday, May 23, 2007 @ 22:21:57
  Author: eric
    Path: /home/cvs-arch/arch/build/multimedia/imagemagick

Modified: PKGBUILD (1.80 -> 1.81)

upgpkg: imagemagick 6.3.4.2-1
Added license


----------+
 PKGBUILD |   28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)


Index: arch/build/multimedia/imagemagick/PKGBUILD
diff -u arch/build/multimedia/imagemagick/PKGBUILD:1.80 arch/build/multimedia/imagemagick/PKGBUILD:1.81
--- arch/build/multimedia/imagemagick/PKGBUILD:1.80	Sat Apr 28 17:49:54 2007
+++ arch/build/multimedia/imagemagick/PKGBUILD	Wed May 23 22:21:56 2007
@@ -1,36 +1,39 @@
-# $Id: PKGBUILD,v 1.80 2007/04/28 21:49:54 andyrtr Exp $
-# Maintainer: dorphell <dorphell at archlinux.org>
+# $Id: PKGBUILD,v 1.81 2007/05/24 02:21:56 eric Exp $
+# Maintainer: Eric Belanger <eric at archlinux.org>
 
 # NOTE: ImageMagick builds against an existing installation
 # uninstall ImageMagick before building, or build it, install it, build it.
 
 pkgname=imagemagick
-pkgver=6.3.3.10
+pkgver=6.3.4.2
 pkgrel=1
 pkgdesc="An image viewing/manipulation program"
-arch=(i686 x86_64)
-depends=('lcms' 'libwmf' 'librsvg' 'libxt' 'gcc')
-source=(ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.3.3-10.tar.bz2
-	libpng_mmx_patch_x86_64.patch)
+arch=('i686' 'x86_64')
 url="http://www.imagemagick.org/"
-md5sums=('9193c1325a18e9138a8e4c640879d634' '069980fc2590c02aed86420996259302')
+license="custom"
+depends=('lcms' 'libwmf' 'librsvg' 'libxt' 'gcc')
+source=(ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.3.4-2.tar.bz2 \
+        libpng_mmx_patch_x86_64.patch)
+md5sums=('7e22d7e87c552b020a82015bb46946fa' '069980fc2590c02aed86420996259302')
 
 build() {
-  cd ${startdir}/src/ImageMagick-6.3.3
+  cd ${startdir}/src/ImageMagick-6.3.4
 
   export MAKEFLAGS="-j1"
 
   if [ "${CARCH}" = "x86_64" ]; then
-    patch -Np1 -i ${startdir}/libpng_mmx_patch_x86_64.patch || return 1
+    patch -Np1 -i ${startdir}/src/libpng_mmx_patch_x86_64.patch || return 1
   fi
 
   ./configure --prefix=/usr --with-modules=yes --without-dps \
               --with-perl=yes --without-gvc --with-jp2=no \
-	      --with-gs-font-dir=/usr/share/fonts/Type1 \
-	      --without-djvu --disable-static
+              --with-gs-font-dir=/usr/share/fonts/Type1 \
+              --without-djvu --disable-static
   #Fix inter-library dependency
   make || return 1
   make DESTDIR=${startdir}/pkg install
+  install -D -m644 LICENSE ${startdir}/pkg/usr/share/licenses/$pkgname/LICENSE
+  install -D -m644 NOTICE ${startdir}/pkg/usr/share/licenses/$pkgname/NOTICE
 
   rm -rf ${startdir}/pkg/usr/lib/perl5/?.?.?
   mv ${startdir}/pkg/usr/lib/perl5/site_perl/?.?.? ${startdir}/pkg/usr/lib/perl5/site_perl/current
@@ -40,6 +43,5 @@
   find ${startdir}/pkg -name '.packlist' -exec rm {} \;
   find ${startdir}/pkg -name 'perllocal.pod' -exec rm {} \;
 
-#  rm -f ${startdir}/pkg/usr/lib/ImageMagick-*/modules*/*/*.a
   rm -f ${startdir}/pkg/usr/lib/*.la
 }




More information about the arch-commits mailing list