diff options
Diffstat (limited to 'multimedia/flashplayer-plugin/flashplayer-plugin.SlackBuild')
-rw-r--r-- | multimedia/flashplayer-plugin/flashplayer-plugin.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/multimedia/flashplayer-plugin/flashplayer-plugin.SlackBuild b/multimedia/flashplayer-plugin/flashplayer-plugin.SlackBuild index 05b50d15664b2..90d40e8aa715a 100644 --- a/multimedia/flashplayer-plugin/flashplayer-plugin.SlackBuild +++ b/multimedia/flashplayer-plugin/flashplayer-plugin.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2010-2015 Robby Workman, Tuscaloosa, Alabama, USA +# Copyright 2010-2016 Robby Workman, Tuscaloosa, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,7 +21,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=flashplayer-plugin -VERSION=${VERSION:-11.2.202.644} +VERSION=${VERSION:-24.0.0.186} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -53,9 +53,9 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -tar xf $CWD/install_flash_player_${VERS_MAJ}_linux.${ARCH}.tar.gz -C $PKG +tar xf $CWD/flash_player_npapi_linux.${ARCH}.tar.gz -C $PKG -if ! strings $PKG/libflashplayer.so | grep -wq "^${VERSION}$" 2>/dev/null ; then +if ! strings $PKG/libflashplayer.so | grep -wq "${VERSION}$" 2>/dev/null ; then printf "\n\tThis script is written for version $VERSION of the plugin,\n" printf "\tbut you don't seem to have that version. This is likely\n" printf "\tokay, and it's almost surely not your fault - Adobe tends\n" @@ -71,7 +71,7 @@ if [ "$ARCH" = "x86_64" ]; then fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/readme.txt $PKG/LGPL/* $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/readme.txt $PKG/license.pdf $PKG/LGPL/* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild rm -rf $PKG/LGPL |