diff options
author | hollywoodb <hollywoodb@fastmail.fm> | 2010-05-11 15:00:26 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 15:00:26 +0200 |
commit | 140e738ea71fe6ed2c4016077532c99f6923b407 (patch) | |
tree | da196d09c17774e78331612205d2653a0031f126 | |
parent | 74fc0bef0c086e61274511bca87421a682a221d5 (diff) | |
download | slackbuilds-140e738ea71fe6ed2c4016077532c99f6923b407.tar.gz |
multimedia/flash-player-plugin: Initial import
-rw-r--r-- | multimedia/flash-player-plugin/README | 10 | ||||
-rw-r--r-- | multimedia/flash-player-plugin/flash-player-plugin.SlackBuild | 47 | ||||
-rw-r--r-- | multimedia/flash-player-plugin/flash-player-plugin.info | 8 | ||||
-rw-r--r-- | multimedia/flash-player-plugin/slack-desc | 10 |
4 files changed, 75 insertions, 0 deletions
diff --git a/multimedia/flash-player-plugin/README b/multimedia/flash-player-plugin/README new file mode 100644 index 0000000000..f015dd1d4d --- /dev/null +++ b/multimedia/flash-player-plugin/README @@ -0,0 +1,10 @@ +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 new file mode 100644 index 0000000000..e186f738d2 --- /dev/null +++ b/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild @@ -0,0 +1,47 @@ +#!/bin/sh + +## Written by hollywoodb (hollywoodb@fastmail.fm) + +# Modified by the SlackBuilds.org project + +## Verify script is being run by root user. +if [ "$(id -u)" != "0" ]; then + echo "This script must be run as root!" + exit 1 +fi + +set -e + +PRGNAM=flash-player-plugin +VERSION=9.0.31.0 +ARCH=${ARCH:-i386} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +CWD=`pwd` +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar -xvzf $CWD/install_flash_player_9_linux.tar.gz +cd install_flash_player_9_linux +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +# 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 +install -m 0644 flashplayer.xpt $PKG/usr/lib/mozilla/plugins + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +install -m 0644 Readme.txt $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/multimedia/flash-player-plugin/flash-player-plugin.info b/multimedia/flash-player-plugin/flash-player-plugin.info new file mode 100644 index 0000000000..869df71fae --- /dev/null +++ b/multimedia/flash-player-plugin/flash-player-plugin.info @@ -0,0 +1,8 @@ +PRGNAM="flash-player-plugin" +VERSION="9.0.31.0" +HOMEPAGE="http://www.adobe.com/" +DOWNLOAD="http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz" +MD5SUM="76b38231a68995935185aa42dfda9db7" +MAINTAINER="hollywoodb" +EMAIL="hollywoodb@fastmail.fm" +APPROVED="robw810,BP{k}" diff --git a/multimedia/flash-player-plugin/slack-desc b/multimedia/flash-player-plugin/slack-desc new file mode 100644 index 0000000000..fd9092dafe --- /dev/null +++ b/multimedia/flash-player-plugin/slack-desc @@ -0,0 +1,10 @@ +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: +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: |