summaryrefslogtreecommitdiffstats
path: root/base/flashplayer/Pkgfile
blob: 61564019648532f1b0aadb1f95ebbf1c6391edfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Description: Plugin flashplayer pour navigateur
# URL: http://www.macromedia.com
# Maintainer: NuTyX core team
# Packager: lesibel at free dot fr

name=flashplayer
version=11.0.1.6
release=1

case `uname -m` in
	x86_64)
	source=(http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11/flashplayer11_b1_install_lin_64_071311.tar.gz 
	mms.cfg) ;;
	i?86)
	source=(http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11/flashplayer11_b1_debug_lin_32_071311.tar.gz 
	mms.cfg) ;;
esac

build() {
  install -D -m755 $SRC/usr/lib/kde4/kcm_adobe_flash_player.so $PKG/usr/lib/kde4/kcm_adobe_flash_player.so
  install -D -m644 $SRC/usr/share/icons/hicolor/16x16/apps/flash-player-properties.png $PKG/usr/share/icons/hicolor/16x16/apps/flash-player-properties.png
  install -D -m644 $SRC/usr/share/icons/hicolor/32x32/apps/flash-player-properties.png $PKG/usr/share/icons/hicolor/32x32/apps/flash-player-properties.png
  install -D -m644 $SRC/usr/share/icons/hicolor/24x24/apps/flash-player-properties.png $PKG/usr/share/icons/hicolor/24x24/apps/flash-player-properties.png
  install -D -m644 $SRC/usr/share/icons/hicolor/48x48/apps/flash-player-properties.png $PKG/usr/share/icons/hicolor/48x48/apps/flash-player-properties.png
  install -D -m644 $SRC/usr/share/icons/hicolor/22x22/apps/flash-player-properties.png $PKG/usr/share/icons/hicolor/22x22/apps/flash-player-properties.png
  install -D -m644 $SRC/usr/share/icons/hicolor/48x48/apps/flash-player-properties.png $PKG/usr/share/pixmaps/flash-player-properties.png
  install -D -m644 $SRC/usr/share/applications/flash-player-properties.desktop $PKG/usr/share/applications/flash-player-properties.desktop
  install -D -m644 $SRC/usr/share/kde4/services/kcm_adobe_flash_player.desktop $PKG/usr/share/kde4/services/kcm_adobe_flash_player.desktop
  install -D -m755 $SRC/usr/bin/flash-player-properties $PKG/usr/bin/flash-player-properties
  install -D -m755 libflashplayer.so $PKG/usr/lib/mozilla/plugins/libflashplayer.so
  install -D -m644 mms.cfg $PKG/etc/adobe/mms.cfg
}