multimedia/flash-player-plugin: Don't include /usr/lib directory on x86_64.

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2012-12-11 14:35:20 +01:00 committed by dsomero
parent 77bca3871c
commit ae8d2b482d

View file

@ -22,7 +22,7 @@
PRGNAM=flash-player-plugin
VERSION=11.2.202.243
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
VERS_MAJ=$(printf $VERSION | cut -d. -f1)
@ -66,6 +66,10 @@ fi
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins
mv $PKG/libflashplayer.so $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins
if [ "$ARCH" = "x86_64" ]; then
rm -rf $PKG/usr/lib
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/readme.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild