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 /multimedia/flash-player-plugin/flash-player-plugin.SlackBuild | |
parent | bd2ec59d6f36d8839fb285a216d45c4db2d6b9fd (diff) |
multimedia/flash-player-plugin: Updated for version 10.3_r181.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'multimedia/flash-player-plugin/flash-player-plugin.SlackBuild')
-rw-r--r-- | multimedia/flash-player-plugin/flash-player-plugin.SlackBuild | 12 |
1 files changed, 10 insertions, 2 deletions
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} |