summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/imagemagick-nox/PKGBUILD31
1 files changed, 13 insertions, 18 deletions
diff --git a/pcr/imagemagick-nox/PKGBUILD b/pcr/imagemagick-nox/PKGBUILD
index c973328df..fa3105895 100644
--- a/pcr/imagemagick-nox/PKGBUILD
+++ b/pcr/imagemagick-nox/PKGBUILD
@@ -5,19 +5,18 @@
_pkgname=imagemagick
pkgname=imagemagick-nox
-pkgver=6.9.0.5
-pkgrel=2
+pkgver=6.9.3.7
+pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
url="http://www.imagemagick.org/"
license=('custom')
-# Remove libxt, libxext, opencl-headers, libcl
+# Remove libxt, libxext, opencl-headers, libcl, glu
makedepends=('libltdl' 'lcms2' 'fontconfig' 'ghostscript'
'openexr' 'libwmf' 'librsvg' 'libxml2' 'liblqr' 'openjpeg2'
'libwebp' 'subversion')
-#source=(http://www.imagemagick.org/download/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz{,.asc}
-source=(ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz{,.asc}
+source=(http://www.imagemagick.org/download/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz{,.asc}
perlmagick.rpath.patch)
-sha1sums=('b3aa7b95f8db8a863602fa4c205420ad1d5a69b7'
+sha1sums=('8797c074d3ae79283563f2e8e6784e3032378b23'
'SKIP'
'e143cf9d530fabf3b58023899b5cc544ba93daec')
validpgpkeys=('D8272EF51DA223E4D05B466989AB63D48277377A')
@@ -58,7 +57,7 @@ package() {
pkgdesc="An image viewing/manipulation program"
pkgdesc+=" (without X11; for servers)"
# Remove libxt, libxext, libcl
- depends=('perl' 'libltdl' 'lcms2' 'fontconfig' 'liblqr')
+ depends=('libltdl' 'lcms2' 'fontconfig' 'liblqr')
optdepends=('imagemagick-doc: for additional information'
'ghostscript: for Ghostscript support'
'openexr: for OpenEXR support'
@@ -93,16 +92,12 @@ package() {
# remove useless display
rm -vf "${pkgdir}/usr/bin/display"
-}
-
-package_imagemagick-doc() {
- pkgdesc="The ImageMagick documentation (utilities manuals and libraries API)"
- cd ImageMagick-${pkgver%.*}-${pkgver##*.}
- make DESTDIR="${pkgdir}" install-data-html
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/imagemagick-doc/LICENSE"
- install -Dm644 NOTICE "${pkgdir}/usr/share/licenses/imagemagick-doc/NOTICE"
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+ _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+ _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+ depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
}
-sha1sums=('51fb1e4955f8548107f0a126bf541fbf4ed2c96b'
- 'SKIP'
- 'e143cf9d530fabf3b58023899b5cc544ba93daec')