diff options
Diffstat (limited to 'www/flash_plugin/flash_plugin.build')
-rwxr-xr-x | www/flash_plugin/flash_plugin.build | 62 |
1 files changed, 62 insertions, 0 deletions
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 +} |