summaryrefslogtreecommitdiffstats
path: root/extra/source/flashplayer-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'extra/source/flashplayer-plugin')
-rwxr-xr-xextra/source/flashplayer-plugin/flashplayer-plugin.SlackBuild6
-rw-r--r--extra/source/flashplayer-plugin/slack-desc10
2 files changed, 8 insertions, 8 deletions
diff --git a/extra/source/flashplayer-plugin/flashplayer-plugin.SlackBuild b/extra/source/flashplayer-plugin/flashplayer-plugin.SlackBuild
index 27c091cdf..5dca2ec48 100755
--- a/extra/source/flashplayer-plugin/flashplayer-plugin.SlackBuild
+++ b/extra/source/flashplayer-plugin/flashplayer-plugin.SlackBuild
@@ -39,7 +39,7 @@
PRGNAM=flashplayer-plugin
# Determine the latest version by checking the web page:
-VERSION=${VERSION:-"$(wget -O - http://www.adobe.com/software/flash/about/ 2>/dev/null | sed -n "/Firefox - NPAPI/{N;p}" | tr -d ' '| tail -1 | tr '<>' ' ' | cut -f3 -d ' ')"}
+VERSION=${VERSION:-"$(wget -O - http://www.adobe.com/software/flash/about/ 2>/dev/null | grep -2 "Firefox - NPAPI" | tail -1 | cut -f 2 -d '>' | cut -f 1 -d '<')"}
MAJVER=$(echo $VERSION | cut -d. -f1)
BUILD=${BUILD:-1}
TAG=${TAG:-}
@@ -71,8 +71,8 @@ case "$MARCH" in
;;
esac
-SOURCE="$SRCDIR/install_flash_player_${VERSION}_linux_${ARCH}.tar.gz"
-SRCURL="http://fpdownload.macromedia.com/get/flashplayer/pdc/${VERSION}/install_flash_player_${MAJVER}_linux.${ARCH}.tar.gz"
+SOURCE="$SRCDIR/flash_player_npapi_linux.${VERSION}.${ARCH}.tar.gz"
+SRCURL="http://fpdownload.macromedia.com/get/flashplayer/pdc/${VERSION}/flash_player_npapi_linux.${ARCH}.tar.gz"
##
## --- with a little luck, you won't have to edit below this point --- ##
diff --git a/extra/source/flashplayer-plugin/slack-desc b/extra/source/flashplayer-plugin/slack-desc
index e7fb949ac..f06362dc8 100644
--- a/extra/source/flashplayer-plugin/slack-desc
+++ b/extra/source/flashplayer-plugin/slack-desc
@@ -1,8 +1,8 @@
# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
+# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler-----------------------------------------|
@@ -12,8 +12,8 @@ flashplayer-plugin: Provides Adobe Flash plugin for browsers that recognize
flashplayer-plugin: /usr/lib/mozilla/plugins as a valid plugin directory
flashplayer-plugin:
flashplayer-plugin: Plugin is subject to Adobe terms of use:
-flashplayer-plugin: http://www.adobe.com/go/labs_term_of_use
+flashplayer-plugin: http://www.adobe.com/go/labs_term_of_use
flashplayer-plugin:
flashplayer-plugin: Plugin is subject to Adobe Flash EULA:
-flashplayer-plugin: http://labs.adobe.com/technologies/eula/flashplayer.html
+flashplayer-plugin: http://labs.adobe.com/technologies/eula/flashplayer.html
flashplayer-plugin: