From 9da420504a46fad44e57bc9df91b62fd35f2d0f0 Mon Sep 17 00:00:00 2001 From: orchidman Date: Tue, 13 Dec 2011 07:04:17 +0100 Subject: flashplayer 11.1.102.55-1 maj --- extra/flashplayer/Pkgfile | 44 +++++++++++++++++++++++++++----------------- 1 file changed, 27 insertions(+), 17 deletions(-) (limited to 'extra') diff --git a/extra/flashplayer/Pkgfile b/extra/flashplayer/Pkgfile index 1e91f3ded..87c53d05d 100644 --- a/extra/flashplayer/Pkgfile +++ b/extra/flashplayer/Pkgfile @@ -6,27 +6,37 @@ # Run on: libvdpau name=flashplayer -version=11.0.1.152 +version=11.1.102.55 release=1 case `uname -m` in - x86_64) - source=(http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_11_linux.x86_64.tar.gz - mms.cfg) ;; - i?86) - source=(http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_11_linux.i386.tar.gz - mms.cfg) ;; + x86_64) + source=(http://fpdownload.macromedia.com/get/flashplayer/pdc/$version/install_flash_player_11_linux.x86_64.tar.gz + mms.cfg) ;; + i?86) + source=(http://fpdownload.macromedia.com/get/flashplayer/pdc/$version/install_flash_player_11_linux.i386.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 - for res in 16 22 24 32 48; do - install -D -m644 $SRC/usr/share/icons/hicolor/${res}x$res/apps/flash-player-properties.png $PKG/usr/share/icons/hicolor/${res}x$res/apps/flash-player-properties.png - done - 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 + cd $SRC + install -Dm755 libflashplayer.so $PKG/usr/lib/mozilla/plugins/libflashplayer.so + + case `uname -m` in + x86_64) + install -Dm755 usr/lib64/kde4/kcm_adobe_flash_player.so $PKG/usr/lib/kde4/kcm_adobe_flash_player.so ;; + i?86) + install -Dm755 usr/lib/kde4/kcm_adobe_flash_player.so $PKG/usr/lib/kde4/kcm_adobe_flash_player.so ;; + esac + + for res in 16 22 24 32 48; do + install -D -m644 $SRC/usr/share/icons/hicolor/${res}x$res/apps/flash-player-properties.png $PKG/usr/share/icons/hicolor/${res}x$res/apps/flash-player-properties.png + done + 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 } + -- cgit v1.2.3-70-g09d2