ImageMagick: fix perl install path

Closes #52096.
This commit is contained in:
Leah Neukirchen 2024-09-11 15:31:00 +02:00
parent fc05df8784
commit 77795a0fce
1 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@
pkgname=ImageMagick
# Revbump php*-imagick with ImageMagick updates.
version=7.1.1.36
revision=1
revision=2
_upstream_version="${version/.${version##*.}/-${version##*.}}"
build_style=gnu-configure
configure_args="--disable-static --enable-opencl --with-modules --with-gslib
@ -78,6 +78,8 @@ libmagick-perl_package() {
short_desc="ImageMagick perl library bindings"
pkg_install() {
mv ${DESTDIR}/usr/man/man3 ${DESTDIR}/usr/share/man/
mkdir ${DESTDIR}/usr/lib/perl5/vendor_perl
mv ${DESTDIR}/usr/lib/perl5/*-*/* ${DESTDIR}/usr/lib/perl5/vendor_perl
vmove usr/lib/perl5
vmove usr/share/man/man3
}