diff options
author | Robby Workman <rw@rlworkman.net> | 2010-05-13 00:34:43 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:34:43 +0200 |
commit | 9a8372564bddcdd838384cbdeb85653a1d5bae4b (patch) | |
tree | 4af567fbfc9d0be1576aec2f45376b1b005b856e /multimedia/flash-player-plugin | |
parent | b9a8406c54192215481394ac01231cd35eb79f6c (diff) |
multimedia/flash-player-plugin: Updated for version 10.0_r45
Diffstat (limited to 'multimedia/flash-player-plugin')
4 files changed, 28 insertions, 25 deletions
diff --git a/multimedia/flash-player-plugin/README b/multimedia/flash-player-plugin/README index ba937435288e0..77a7add3012b1 100644 --- a/multimedia/flash-player-plugin/README +++ b/multimedia/flash-player-plugin/README @@ -1,9 +1 @@ flash-player-plugin (flash plugin for web browsers) - -Provides Adobe Flash plugin for browsers that recognize -/usr/lib/mozilla/plugins as a valid plugin directory. - -Plugin is subject to Adobe terms of use: - http://www.adobe.com/go/labs_term_of_use -Plugin is subject to Adobe Flash EULA: - http://labs.adobe.com/technologies/eula/flashplayer.html diff --git a/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild b/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild index 34cec90e54e58..35fb7f34d1d87 100644 --- a/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild +++ b/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild @@ -5,17 +5,19 @@ # Script maintained by Robby Workman <rworkman@slackbuilds.org> PRGNAM=flash-player-plugin -VERSION=10.0_r32 -ARCH=i386 +VERSION=10.0_r45 +ARCH=${ARCH:-i386} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +SRC_VERSION=10.0.45.2 + # If you use or intend to use Opera at some point, and you want # this plugin available to it, then pass "yes" as the value to this # variable: USE_OPERA=yes ./flash-player-plugin.SlackBuild # Note that this should *NOT* be needed if you installed Opera using # the SlackBuilds.org build script, as we do a simple patch there to -# make it look in /usr/lib/mozilla/plugins +# make it look in /usr/lib${LIBDIRSUFFIX}/mozilla/plugins USE_OPERA=${USE_OPERA:-no} CWD=$(pwd) @@ -26,11 +28,17 @@ OUTPUT=${OUTPUT:-/tmp} set -e rm -rf $PKG -mkdir -p $TMP/install_flash_player_10_linux $PKG $OUTPUT -cd $TMP/install_flash_player_10_linux -tar xvf $CWD/install_flash_player_10_linux.tar.gz -chown -R root:root . -chmod -R u+w,go+r-w,a-s . +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +if [ "$ARCH" = "x86_64" ]; then + LIBDIRSUFFIX="64" + tar xvf $CWD/libflashplayer-${SRC_VERSION}.linux-x86_64.so.tar.gz +else + ARCH=i386 + LIBDIRSUFFIX="" + tar xvf $CWD/install_flash_player_10_linux.tar.gz +fi # Check to make sure we're packaging the same version that this script # was written to handle: @@ -48,14 +56,14 @@ if [ ! "$(echo $_REALVERS | tr ' ' _)" = "$(echo $VERSION)" ]; then sleep 5 fi -mkdir -p $PKG/usr/lib/mozilla/plugins -install -m 0755 libflashplayer.so $PKG/usr/lib/mozilla/plugins +mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins +install -m 0755 libflashplayer.so $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins # If the user wants an opera plugin installed, then we'll do that too. if [ ! "$USE_OPERA" = "no" ]; then - mkdir -p $PKG/usr/lib/opera/plugins - cd $PKG/usr/lib/opera/plugins - ln -s /usr/lib/mozilla/plugins/libflashplayer.so . + mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/opera/plugins + cd $PKG/usr/lib${LIBDIRSUFFIX}/opera/plugins + ln -s /usr/lib${LIBDIRSUFFIX}/mozilla/plugins/libflashplayer.so . cd - fi @@ -66,4 +74,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/multimedia/flash-player-plugin/flash-player-plugin.info b/multimedia/flash-player-plugin/flash-player-plugin.info index a0df441b12831..a2dd1efeeee5f 100644 --- a/multimedia/flash-player-plugin/flash-player-plugin.info +++ b/multimedia/flash-player-plugin/flash-player-plugin.info @@ -1,8 +1,10 @@ PRGNAM="flash-player-plugin" -VERSION="10.0_r32" +VERSION="10.0_r45" HOMEPAGE="http://www.adobe.com/products/flashplayer" DOWNLOAD="http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz" -MD5SUM="6306980e40a3266b4b6c173bfcfdc946" +MD5SUM="dbfc776cd4310250cde078e0bf0472e7" +DOWNLOAD_x86_64="http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz" +MD5SUM_x86_64="4a4561e456612a6751653b58342d53df" MAINTAINER="Robby Workman" EMAIL="rw@rlworkman.net" APPROVED="Erik Hanson" diff --git a/multimedia/flash-player-plugin/slack-desc b/multimedia/flash-player-plugin/slack-desc index a22eb33535b7c..588291cf905aa 100644 --- a/multimedia/flash-player-plugin/slack-desc +++ b/multimedia/flash-player-plugin/slack-desc @@ -9,10 +9,11 @@ flash-player-plugin: flash-player-plugin (flash plugin for web browsers) flash-player-plugin: flash-player-plugin: Provides Adobe Flash plugin for browsers that recognize -flash-player-plugin: /usr/lib/mozilla/plugins as a valid plugin directory +flash-player-plugin: /usr/lib(64)/mozilla/plugins as a valid plugin directory flash-player-plugin: flash-player-plugin: Plugin is subject to Adobe terms of use: flash-player-plugin: http://www.adobe.com/go/labs_term_of_use flash-player-plugin: Plugin is subject to Adobe Flash EULA: flash-player-plugin: http://labs.adobe.com/technologies/eula/flashplayer.html flash-player-plugin: +flash-player-plugin: |