mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/imagemagick to 6.9.1.4-1
This commit is contained in:
parent
86a00c29ae
commit
d1f996357a
1 changed files with 11 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
pkgbase=imagemagick
|
||||
pkgname=('imagemagick' 'imagemagick-doc')
|
||||
pkgver=6.9.1.2
|
||||
pkgver=6.9.1.4
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.imagemagick.org/"
|
||||
|
@ -19,7 +19,7 @@ makedepends=('libltdl' 'lcms2' 'libxt' 'fontconfig' 'libxext' 'ghostscript'
|
|||
#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}
|
||||
perlmagick.rpath.patch)
|
||||
sha1sums=('eda68a4879bdfc92bf854c0295e1e1bec78d48f9'
|
||||
sha1sums=('ed0743e1a999461433a45a10f8afe6bf2c62a884'
|
||||
'SKIP'
|
||||
'e143cf9d530fabf3b58023899b5cc544ba93daec')
|
||||
validpgpkeys=('D8272EF51DA223E4D05B466989AB63D48277377A')
|
||||
|
@ -52,7 +52,7 @@ check() {
|
|||
|
||||
package_imagemagick() {
|
||||
pkgdesc="An image viewing/manipulation program"
|
||||
depends=('perl' 'libltdl' 'lcms2' 'libxt' 'fontconfig' 'libxext' 'liblqr')
|
||||
depends=('libltdl' 'lcms2' 'libxt' 'fontconfig' 'libxext' 'liblqr')
|
||||
optdepends=('imagemagick-doc: for additional information'
|
||||
'ghostscript: for Ghostscript support'
|
||||
'openexr: for OpenEXR support'
|
||||
|
@ -84,6 +84,14 @@ package_imagemagick() {
|
|||
|
||||
#Cleaning
|
||||
rm -f "${pkgdir}"/usr/lib/*.la
|
||||
|
||||
# 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;
|
||||
}
|
||||
|
||||
package_imagemagick-doc() {
|
||||
|
|
Loading…
Reference in a new issue