diff options
author | Deposite Pirate | 2018-09-16 18:48:36 +0200 |
---|---|---|
committer | Deposite Pirate | 2018-09-16 18:48:36 +0200 |
commit | d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 (patch) | |
tree | ce5e44d69c5f3175bfdbd1e3717b52c5dcca5638 /www/flash_plugin | |
parent | f29d3519ce073ec30f99754d93304324f7f26d65 (diff) |
Add ports.
Diffstat (limited to 'www/flash_plugin')
-rw-r--r-- | www/flash_plugin/flash_plugin-11.2.202.400-xfcesettings.patch.xz | bin | 0 -> 368 bytes | |||
-rwxr-xr-x | www/flash_plugin/flash_plugin.build | 62 |
2 files changed, 62 insertions, 0 deletions
diff --git a/www/flash_plugin/flash_plugin-11.2.202.400-xfcesettings.patch.xz b/www/flash_plugin/flash_plugin-11.2.202.400-xfcesettings.patch.xz Binary files differnew file mode 100644 index 0000000..683dda3 --- /dev/null +++ b/www/flash_plugin/flash_plugin-11.2.202.400-xfcesettings.patch.xz diff --git a/www/flash_plugin/flash_plugin.build b/www/flash_plugin/flash_plugin.build new file mode 100755 index 0000000..9a89566 --- /dev/null +++ b/www/flash_plugin/flash_plugin.build @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=flash_plugin +MAJOR=11 +VERSION=${MAJOR}.2.202.400 +BUILD=1 +DEPENDS=('gtk+ >= 2.24.17-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# 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 ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: flash_plugin (Adobe Flash Player) +${NAME}: +${NAME}: This is the official Adobe Flash Player plug-in for NPAPI-capable +${NAME}: browsers such as Mozilla and Chrome. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCOPTS[0]="nosrcroot" + +URL=http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11 +if [ "$(uname -m)" == "x86_64" ]; then +SRCPACK[0]=${URL}/install_flash_player_11_linux.x86_64.tar.gz +else +SRCPACK[0]=${URL}/install_flash_player_11_linux.i386.tar.gz +fi + +build0() +{ +install.dir ${PKG}${SYS_DIR[lib]}/plugins/mozilla +install.bin libflashplayer.so ${PKG}${SYS_DIR[lib]}/plugins/mozilla +install.dir ${PKG}${SYS_DIR[bin]} +install.bin usr/bin/flash-player-properties ${PKG}${SYS_DIR[bin]} +install.dir ${PKG}${SYS_DIR[share]}/applications +install.dat \ + usr/share/applications/flash-player-properties.desktop \ + ${PKG}${SYS_DIR[share]}/applications +install.dir ${PKG}${SYS_DIR[share]}/icons/hicolor +cp -r usr/share/icons/hicolor/* ${PKG}${SYS_DIR[share]}/icons/hicolor +} |