diff options
author | Robby Workman <rw@rlworkman.net> | 2010-05-11 22:24:43 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 22:24:43 +0200 |
commit | 86d1e3c5c8e8b3ba2c8c2edf71fe40485a38cf67 (patch) | |
tree | 18166faf3f866ef3a81d36758231f56c41a0ff52 /multimedia/flash-player-plugin | |
parent | 1636c71eecaac9d684ec62309b6cbbe33654e3cf (diff) |
multimedia/flash-player-plugin: Updated for version 10.0_r12
Diffstat (limited to 'multimedia/flash-player-plugin')
-rw-r--r-- | multimedia/flash-player-plugin/README | 1 | ||||
-rw-r--r-- | multimedia/flash-player-plugin/flash-player-plugin.SlackBuild | 24 | ||||
-rw-r--r-- | multimedia/flash-player-plugin/flash-player-plugin.info | 8 |
3 files changed, 23 insertions, 10 deletions
diff --git a/multimedia/flash-player-plugin/README b/multimedia/flash-player-plugin/README index f015dd1d4d5a0..ba937435288e0 100644 --- a/multimedia/flash-player-plugin/README +++ b/multimedia/flash-player-plugin/README @@ -7,4 +7,3 @@ 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 53312808a8e5d..4bfe4be87eeea 100644 --- a/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild +++ b/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild @@ -5,11 +5,19 @@ # Script maintained by Robby Workman <rworkman@slackbuilds.org> PRGNAM=flash-player-plugin -VERSION=9.0_r124 +VERSION=10.0_r12 ARCH=i386 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +# 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 +USE_OPERA=${USE_OPERA:-no} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -20,8 +28,8 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -tar xvf $CWD/install_flash_player_9_linux.tar.gz -cd install_flash_player_9_linux +tar xvf $CWD/install_flash_player_10_linux.tar.gz +cd install_flash_player_10_linux chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -41,11 +49,17 @@ if [ ! "$(echo $_REALVERS | tr ' ' _)" = "$(echo $VERSION)" ]; then sleep 5 fi -# This is repackaging of a binary plugin - no SLKCFLAGS required, -# nor does anything need to be compiled mkdir -p $PKG/usr/lib/mozilla/plugins install -m 0755 libflashplayer.so $PKG/usr/lib/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 . + cd - +fi + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/multimedia/flash-player-plugin/flash-player-plugin.info b/multimedia/flash-player-plugin/flash-player-plugin.info index 6e22dc3540087..253e5ecacd29d 100644 --- a/multimedia/flash-player-plugin/flash-player-plugin.info +++ b/multimedia/flash-player-plugin/flash-player-plugin.info @@ -1,8 +1,8 @@ PRGNAM="flash-player-plugin" -VERSION="9.0_r124" -HOMEPAGE="http://www.adobe.com/" -DOWNLOAD="http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz" -MD5SUM="a311fd97aa6c214f63dc089a20cf7a39" +VERSION="10.0_r12" +HOMEPAGE="http://www.adobe.com/products/flashplayer" +DOWNLOAD="http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz" +MD5SUM="4777665a6149af11233d8a000b89ffb1" MAINTAINER="Robby Workman" EMAIL="rw@rlworkman.net" APPROVED="David Somero" |