multimedia/flash-player-plugin: Fix wrong libdir on slackware64

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2011-11-19 21:59:02 +01:00 committed by Robby Workman
parent d2a092b224
commit 2d0d742b99

View file

@ -22,7 +22,7 @@
PRGNAM=flash-player-plugin
VERSION=11.0.1.152
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
VERS_MAJ=$(printf $VERSION | cut -d. -f1)
@ -54,7 +54,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
tar xf $CWD/install_flash_player_${VERS_MAJ}_linux.${ARCH}.tar.gz -C $PKG
[ "$ARCH" = "64" ] && mv $PKG/usr/lib $PKG/usr/lib64
[ "$ARCH" = "x86_64" ] && mv $PKG/usr/lib $PKG/usr/lib$LIBDIRSUFFIX
if ! strings $PKG/libflashplayer.so | grep -wq "^${VERSION}$" 2>/dev/null ; then
printf "\n\tThis script is written for version $VERSION of the plugin,\n"