wok rev 19565

get-flash-plugin: update for new npapi plugin
author Richard Dunbar <mojo@slitaz.org>
date Tue Dec 20 00:33:36 2016 -0500 (2016-12-20)
parents 6ddedd765826
children 10eca9f3e599
files get-flash-plugin/receipt get-flash-plugin/stuff/get-flash-plugin
line diff
     1.1 --- a/get-flash-plugin/receipt	Mon Dec 19 11:40:14 2016 +0100
     1.2 +++ b/get-flash-plugin/receipt	Tue Dec 20 00:33:36 2016 -0500
     1.3 @@ -1,13 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="get-flash-plugin"
     1.7 -VERSION="1.5"
     1.8 +VERSION="1.6"
     1.9  CATEGORY="non-free"
    1.10  SHORT_DESC="Get Adobe Flash Player."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="BSD"
    1.13  WEB_SITE="http://www.adobe.com/products/flash/"
    1.14 -DEPENDS="libfirefox"
    1.15 +DEPENDS="libfirefox wget"
    1.16  TAGS="flash"
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/get-flash-plugin/stuff/get-flash-plugin	Mon Dec 19 11:40:14 2016 +0100
     2.2 +++ b/get-flash-plugin/stuff/get-flash-plugin	Tue Dec 20 00:33:36 2016 -0500
     2.3 @@ -21,12 +21,12 @@
     2.4  	[ -d $INSTALLED/$PACKAGE ] && exit 1
     2.5  fi
     2.6  
     2.7 -TARBALL="install_flash_player_11_linux.i386.tar.gz"
     2.8 -URL="http://fpdownload.macromedia.com/get/flashplayer/current/licensing/linux/$TARBALL"
     2.9 +TARBALL="flash_player_npapi_linux.i386.tar.gz"
    2.10 +URL="https://fpdownload.macromedia.com/get/flashplayer/current/licensing/linux/$TARBALL"
    2.11  TMP_DIR="$(mktemp -d)"
    2.12  CUR_DIR=$(pwd)
    2.13  cd $TMP_DIR
    2.14 -busybox wget -O $TARBALL $URL
    2.15 +wget --no-check-certificate -O $TARBALL $URL
    2.16  
    2.17  if [ ! -f $TARBALL ]; then
    2.18  	echo "Could not download $TARBALL. Exiting."
    2.19 @@ -45,6 +45,7 @@
    2.20  mv usr/bin $fs/usr
    2.21  mv usr/share/icons $fs/usr/share
    2.22  mv usr/share/pixmaps $fs/usr/share
    2.23 +mv usr/share/applications $fs/usr/share
    2.24  
    2.25  # Sanity Check: Reexport firefox libraries if they don't exist
    2.26  dir=$PACKAGE-$VERSION/fs/usr/lib