diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-03-27 01:49:51 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-27 01:51:35 -0500 |
commit | 27eeda8da95f6c4b993d58b78dedb816744dd68f (patch) | |
tree | 105c5c61bab9471d237b93740c2642ba3fa4dce6 /multimedia/flash-player-plugin/flash-player-plugin.SlackBuild | |
parent | 2a955ce1e1c0599fed9ff73b65d08174aba412a8 (diff) |
multimedia/flash-player-plugin: Changed to version 10.2_r153.
This is the release version of the 32bit plugin, so we'll use that
as our official VERSION string. No changes on the 64bit side.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/flash-player-plugin/flash-player-plugin.SlackBuild')
-rw-r--r-- | multimedia/flash-player-plugin/flash-player-plugin.SlackBuild | 35 |
1 files changed, 11 insertions, 24 deletions
diff --git a/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild b/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild index d46d1a210cc5..a3fb21e0dd27 100644 --- a/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild +++ b/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2010 Robby Workman, Northport, Alabama, USA +# Copyright 2010,2011 Robby Workman, Northport, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,12 +21,10 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=flash-player-plugin -VERSION=10.3_d162 -BUILD=${BUILD:-2} +VERSION=10.2_r153 +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} -SRC_VERSION=111710 - case "$( uname -m )" in i?86) ARCH=i386 ;; arm*) ARCH=arm ;; @@ -36,12 +34,9 @@ esac if [ "$ARCH" = "x86_64" ]; then LIBDIRSUFFIX="64" SRC_ARCH=64bit - PLEV=p3 elif [ "$ARCH" = "i386" ]; then LIBDIRSUFFIX="" SRC_ARCH=32bit - VERSION=10.2_d151 - PLEV=p2 else printf "\n\n$ARCH is unsupported...\n" exit 1 @@ -58,24 +53,16 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -tar xf $CWD/flashplayer10_2_${PLEV}_${SRC_ARCH}_linux_${SRC_VERSION}.tar.gz - -# Check to make sure we're packaging the same version that this script -# was written to handle: -_REALVERS=$(strings libflashplayer.so | grep -e "^Shockwave Flash [.\d+]*" | sed -e "s/Shockwave Flash //g") -if [ ! "$(echo $_REALVERS | tr ' ' _)" = "$(echo $VERSION)" ]; then - echo - echo "This build script was written for a different version of the" - echo "flash plugin than you have downloaded. This is probably due" - echo "to Adobe changing the upstream tarball - they don't have" - echo "versioned tarballs - and it's almost certainly nothing to be" - echo "concerned about. However, if this package doesn't build or" - echo "work as expected, contact the SlackBuilds.org project on our" - echo "users mailing list." - echo - sleep 5 +if [ "$SRC_ARCH" = "32bit" ];then + tar xf $CWD/install_flash_player_10_linux.tar.gz +elif [ "$SRC_ARCH" = "64bit" ]; then + tar xf $CWD/flashplayer10_2_p3_64bit_linux_111710.tar.gz fi +# Adobe's versioning scheme is maddening... +REALVERS=$(strings libflashplayer.so | grep -e "^Shockwave Flash [.\d+]*" | sed -e "s/Shockwave Flash //g") +VERSION=$(echo "$REALVERS" | tr ' ' _) + mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins install -m 0755 libflashplayer.so $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins |