aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-11 22:24:45 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:24:45 +0200
commit6703a2f4fa77f0243dc8d1ed26fe4b3c45f6f10c (patch)
tree488d10a101299d751b751c15b108f964dff0e647 /multimedia
parent86d1e3c5c8e8b3ba2c8c2edf71fe40485a38cf67 (diff)
multimedia/flash-player-standalone: Updated for version 10.0.12.36
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/flash-player-standalone/flash-player-standalone.SlackBuild27
-rw-r--r--multimedia/flash-player-standalone/flash-player-standalone.info10
2 files changed, 26 insertions, 11 deletions
diff --git a/multimedia/flash-player-standalone/flash-player-standalone.SlackBuild b/multimedia/flash-player-standalone/flash-player-standalone.SlackBuild
index 28ce2d37761d0..5baffa16d6a85 100644
--- a/multimedia/flash-player-standalone/flash-player-standalone.SlackBuild
+++ b/multimedia/flash-player-standalone/flash-player-standalone.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for flash-player-standalone
-# Copyright 2007-2008 Heinz Wiesinger <hmwiesinger@gmx.at>
+# Copyright 2007-2008 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=flash-player-standalone
-VERSION=9.0.124.0
+VERSION=10.0.12.36
ARCH=i386
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -31,20 +31,35 @@ TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-tar xvf $CWD/flash_player_9_linux_dev.tar.gz
-cd flash_player_9_linux_dev/standalone/release
+tar xvf $CWD/flash_player_10_linux_dev.tar.gz
+cd flash_player_10_linux_dev/standalone/release
tar xvf flashplayer.tar.gz
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-# This is repackaging of a binary plugin - no SLKCFLAGS required,
+# Version check inspired by the flash-player-plugin script
+_REALVERS=$(strings flashplayer | grep "LNX" | cut -d " " -f 2 | sed -e "s/\,/\./g")
+if [ ! "$_REALVERS" = "$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
+fi
+
+# This is repackaging of a binary plugin - no SLKCFLAGS required,
# nor does anything need to be compiled
mkdir -p $PKG/usr/bin
install -m 0755 flashplayer $PKG/usr/bin/
diff --git a/multimedia/flash-player-standalone/flash-player-standalone.info b/multimedia/flash-player-standalone/flash-player-standalone.info
index c4987b95d0d4f..25469369b8578 100644
--- a/multimedia/flash-player-standalone/flash-player-standalone.info
+++ b/multimedia/flash-player-standalone/flash-player-standalone.info
@@ -1,8 +1,8 @@
PRGNAM="flash-player-standalone"
-VERSION="9.0.124.0"
+VERSION="10.0.12.36"
HOMEPAGE="http://www.adobe.com/"
-DOWNLOAD="http://download.macromedia.com/pub/flashplayer/updaters/9/flash_player_9_linux_dev.tar.gz"
-MD5SUM="bd4ad6d9f297797d7979ace014ecb917"
+DOWNLOAD="http://download.macromedia.com/pub/flashplayer/updaters/10/flash_player_10_linux_dev.tar.gz"
+MD5SUM="508e67d4a68b76fdaa40e50ecb98409e"
MAINTAINER="ppr:kut"
-EMAIL="HMWiesinger@gmx.at"
-APPROVED="rworkman"
+EMAIL="pprkut@liwjatan.at"
+APPROVED="dsomero"