diff options
author | Robby Workman <rw@rlworkman.net> | 2011-06-19 12:47:23 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-06-19 23:17:18 -0500 |
commit | 9edec91016cca9baaefc59d328f9f6ab5f2e2caa (patch) | |
tree | e1e799050aa86eecf6b1e6ec942c91c2ca2c8fac | |
parent | bd2ec59d6f36d8839fb285a216d45c4db2d6b9fd (diff) |
multimedia/flash-player-plugin: Updated for version 10.3_r181.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-rw-r--r-- | multimedia/flash-player-plugin/README | 5 | ||||
-rw-r--r-- | multimedia/flash-player-plugin/doinst.sh | 10 | ||||
-rw-r--r-- | multimedia/flash-player-plugin/flash-player-plugin.SlackBuild | 12 | ||||
-rw-r--r-- | multimedia/flash-player-plugin/flash-player-plugin.info | 4 |
4 files changed, 27 insertions, 4 deletions
diff --git a/multimedia/flash-player-plugin/README b/multimedia/flash-player-plugin/README index 77a7add3012b1..e89b7ae970751 100644 --- a/multimedia/flash-player-plugin/README +++ b/multimedia/flash-player-plugin/README @@ -1 +1,6 @@ flash-player-plugin (flash plugin for web browsers) + +Adobe's versioning (or lack thereof) and lack of consistency between +the 32bit and 64bit flashplayer builds is maddening. I know that +the way I've handled it is suboptimal, but absent some very compelling +reason to change, that's the way it will remain. Complain to Adobe. diff --git a/multimedia/flash-player-plugin/doinst.sh b/multimedia/flash-player-plugin/doinst.sh new file mode 100644 index 0000000000000..1f8ff67dedb29 --- /dev/null +++ b/multimedia/flash-player-plugin/doinst.sh @@ -0,0 +1,10 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + diff --git a/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild b/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild index ddf378c72c095..8553ddc04c36c 100644 --- a/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild +++ b/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild @@ -22,7 +22,7 @@ PRGNAM=flash-player-plugin VERSION=10.3_r181 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} case "$( uname -m )" in @@ -45,7 +45,7 @@ fi CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} +OUTPUT=${OUTPUT:-/tmp} set -e @@ -56,6 +56,10 @@ cd $TMP if [ "$SRC_ARCH" = "32bit" ];then tar xf $CWD/install_flash_player_10_linux.tar.gz -C $PKG mv $PKG/libflashplayer.so $TMP + find $PKG -type d -exec chmod 0755 {} \; + find $PKG/usr/lib -type f -name "*.so" -exec chmod 0755 {} \; + find $PKG/usr/bin -type f -exec chmod 0755 {} \; + find $PKG/usr/share -type f -exec chmod 0644 {} \; elif [ "$SRC_ARCH" = "64bit" ]; then tar xf $CWD/flashplayer10_2_p3_64bit_linux_111710.tar.gz fi @@ -73,6 +77,10 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +if [ "$SRC_ARCH" = "32bit" ];then + cat $CWD/doinst.sh > $PKG/install/doinst.sh +fi + cd $PKG chown -R root:root . /sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/multimedia/flash-player-plugin/flash-player-plugin.info b/multimedia/flash-player-plugin/flash-player-plugin.info index 3878faabf8e6b..5e25eafec4466 100644 --- a/multimedia/flash-player-plugin/flash-player-plugin.info +++ b/multimedia/flash-player-plugin/flash-player-plugin.info @@ -2,9 +2,9 @@ PRGNAM="flash-player-plugin" VERSION="10.3_r181" HOMEPAGE="http://labs.adobe.com/technologies/flashplayer10/" DOWNLOAD="http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz" -MD5SUM="e090aaaa5bc2475e024cd13e0ec4e9c1" +MD5SUM="f057d0dc4b6239c447410dc99797e270" DOWNLOAD_x86_64="http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p3_64bit_linux_111710.tar.gz" MD5SUM_x86_64="49b55c7eb8044453e5f6f2e4b3cb4084" MAINTAINER="Robby Workman" EMAIL="rw@rlworkman.net" -APPROVED="dsomero" +APPROVED="pprkut" |