summaryrefslogtreecommitdiff
path: root/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/flash-player-plugin/flash-player-plugin.SlackBuild')
-rw-r--r--multimedia/flash-player-plugin/flash-player-plugin.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild b/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild
index a3fb21e0dd..ddf378c72c 100644
--- a/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild
+++ b/multimedia/flash-player-plugin/flash-player-plugin.SlackBuild
@@ -21,8 +21,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=flash-player-plugin
-VERSION=10.2_r153
-BUILD=${BUILD:-3}
+VERSION=10.3_r181
+BUILD=${BUILD:-1}
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
@@ -54,7 +54,8 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
if [ "$SRC_ARCH" = "32bit" ];then
- tar xf $CWD/install_flash_player_10_linux.tar.gz
+ tar xf $CWD/install_flash_player_10_linux.tar.gz -C $PKG
+ mv $PKG/libflashplayer.so $TMP
elif [ "$SRC_ARCH" = "64bit" ]; then
tar xf $CWD/flashplayer10_2_p3_64bit_linux_111710.tar.gz
fi
@@ -73,4 +74,5 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
+chown -R root:root .
/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}