aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2021-04-22 22:58:06 -0500
committerRobby Workman <rworkman@slackbuilds.org>2021-04-22 23:02:32 -0500
commit9da294773ffe184f668369111dc7da44501c5fe3 (patch)
tree1aca150266d5962d9659d5c77186ad050c3cad92
parent04c8024348a64cec50ed5772fc429a818edcc1c5 (diff)
multimedia/flashplayer-plugin: Removed. Good riddance.
-rw-r--r--multimedia/flashplayer-plugin/README1
-rw-r--r--multimedia/flashplayer-plugin/doinst.sh10
-rw-r--r--multimedia/flashplayer-plugin/flashplayer-plugin.SlackBuild87
-rw-r--r--multimedia/flashplayer-plugin/flashplayer-plugin.info10
-rw-r--r--multimedia/flashplayer-plugin/slack-desc19
5 files changed, 0 insertions, 127 deletions
diff --git a/multimedia/flashplayer-plugin/README b/multimedia/flashplayer-plugin/README
deleted file mode 100644
index 8bde0ef25cd3f..0000000000000
--- a/multimedia/flashplayer-plugin/README
+++ /dev/null
@@ -1 +0,0 @@
-flashplayer-plugin (flash plugin for web browsers)
diff --git a/multimedia/flashplayer-plugin/doinst.sh b/multimedia/flashplayer-plugin/doinst.sh
deleted file mode 100644
index 4a25de5e6fbd1..0000000000000
--- a/multimedia/flashplayer-plugin/doinst.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-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 -f usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/multimedia/flashplayer-plugin/flashplayer-plugin.SlackBuild b/multimedia/flashplayer-plugin/flashplayer-plugin.SlackBuild
deleted file mode 100644
index 5800d9e790189..0000000000000
--- a/multimedia/flashplayer-plugin/flashplayer-plugin.SlackBuild
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-
-# Copyright 2010-2020 Robby Workman, Tuscaloosa, Alabama, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=flashplayer-plugin
-VERSION=${VERSION:-32.0.0.465}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-VERS_MAJ=$(printf $VERSION | cut -d. -f1)
-
-case "$( uname -m )" in
- i?86) ARCH=i386 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
-esac
-
-if [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-elif [ "$ARCH" = "i386" ]; then
- LIBDIRSUFFIX=""
-else
- printf "\n\n$ARCH is unsupported...\n"
- exit 1
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-
-tar xf $CWD/flash_player_npapi_linux.${ARCH}.tar.gz -C $PKG
-
-if ! strings $PKG/libflashplayer.so | grep -wq "${VERSION}$" 2>/dev/null ; then
- printf "\n\tThis script is written for version $VERSION of the plugin,\n"
- printf "\tbut you don't seem to have that version. This is likely\n"
- printf "\tokay, and it's almost surely not your fault - Adobe tends\n"
- printf "\tto release new tarballs without changing the name.\n\n"
- sleep 10
-fi
-
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins
-mv $PKG/libflashplayer.so $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins
-
-if [ "$ARCH" = "x86_64" ]; then
- rm -rf $PKG/usr/lib
-fi
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/readme.txt $PKG/license.pdf $PKG/LGPL/* $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -rf $PKG/LGPL
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-chown -R root:root $PKG
-chmod -R g-w $PKG
-find $PKG -type f -name "*.so" -exec chmod 0755 {} \;
-
-/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/multimedia/flashplayer-plugin/flashplayer-plugin.info b/multimedia/flashplayer-plugin/flashplayer-plugin.info
deleted file mode 100644
index 828630bb4c1e5..0000000000000
--- a/multimedia/flashplayer-plugin/flashplayer-plugin.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="flashplayer-plugin"
-VERSION="32.0.0.465"
-HOMEPAGE="https://get.adobe.com/flashplayer/"
-DOWNLOAD="https://fpdownload.adobe.com/get/flashplayer/pdc/32.0.0.465/flash_player_npapi_linux.i386.tar.gz"
-MD5SUM="d5630852001c5ddabdb2fa1915728e3a"
-DOWNLOAD_x86_64="https://fpdownload.adobe.com/get/flashplayer/pdc/32.0.0.465/flash_player_npapi_linux.x86_64.tar.gz"
-MD5SUM_x86_64="86a40a0464fbd3ae85b6376aa794e79a"
-REQUIRES=""
-MAINTAINER="Robby Workman"
-EMAIL="rworkman@slackbuilds.org"
diff --git a/multimedia/flashplayer-plugin/slack-desc b/multimedia/flashplayer-plugin/slack-desc
deleted file mode 100644
index fd64680ce8e7f..0000000000000
--- a/multimedia/flashplayer-plugin/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-flashplayer-plugin: flashplayer-plugin (flash plugin for web browsers)
-flashplayer-plugin:
-flashplayer-plugin: Provides Adobe Flash plugin for browsers that recognize
-flashplayer-plugin: /usr/lib(64)/mozilla/plugins as a valid plugin directory
-flashplayer-plugin:
-flashplayer-plugin: Plugin is subject to Adobe terms of use:
-flashplayer-plugin: https://www.adobe.com/misc/terms.html
-flashplayer-plugin:
-flashplayer-plugin:
-flashplayer-plugin:
-flashplayer-plugin: