summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2012-12-11 14:35:20 +0100
committerdsomero <xgizzmo@slackbuilds.org>2012-12-11 16:22:28 -0500
commitae8d2b482d902aca82c20a2c936c0a93b11a2303 (patch)
treea9f88acde7a7a0f7b245797d650d7b0aa47b01b3 /multimedia
parent77bca3871cb2cd1d1f8a32e12375fafca6684042 (diff)
downloadslackbuilds-ae8d2b482d902aca82c20a2c936c0a93b11a2303.tar.gz
multimedia/flash-player-plugin: Don't include /usr/lib directory on x86_64.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/flash-player-plugin/flash-player-plugin.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild b/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild
index 4c1fad7c6c..3a80d808f6 100644
--- a/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild
+++ b/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild
@@ -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