libraries/VTK: No qt/plugins to install when QT=no

Signed-off-by: Christoph Willing <chris.willing@linux.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Christoph Willing 2020-06-07 18:50:02 +10:00 committed by Willy Sudiarto Raharjo
parent d860189768
commit f25999b99b
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 6 additions and 4 deletions

View File

@ -147,10 +147,12 @@ cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/qt
mv \
$PKG/usr/plugins/ \
$PKG/usr/lib${LIBDIRSUFFIX}/qt
[ -d $PKG/usr/plugins ] && {
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/qt
mv \
$PKG/usr/plugins/ \
$PKG/usr/lib${LIBDIRSUFFIX}/qt
}
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \