mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
multimedia/flash-player-plugin: Updated for version 10.3_r181.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
parent
bd2ec59d6f
commit
9edec91016
4 changed files with 27 additions and 4 deletions
|
@ -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.
|
||||
|
|
10
multimedia/flash-player-plugin/doinst.sh
Normal file
10
multimedia/flash-player-plugin/doinst.sh
Normal file
|
@ -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
|
||||
|
|
@ -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
|
||||
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue