[arch-commits] Commit in flashplugin/trunk (PKGBUILD)

Ionut Biru ibiru at archlinux.org
Fri Nov 11 05:42:45 EST 2011


    Date: Friday, November 11, 2011 @ 05:42:45
  Author: ibiru
Revision: 142517

update to 11.1.102.55

Modified:
  flashplugin/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-11 09:39:28 UTC (rev 142516)
+++ PKGBUILD	2011-11-11 10:42:45 UTC (rev 142517)
@@ -1,9 +1,10 @@
 # $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
 # Contributor: Andrea Scarpino <andrea at archlinux.org>
 
 pkgname=flashplugin
 _licensefile='PlatformClients_PC_WWEULA_Combined_20100108_1657.pdf'
-pkgver=11.0.1.152
+pkgver=11.1.102.55
 pkgrel=1
 pkgdesc='Adobe Flash Player'
 url='http://get.adobe.com/flashplayer'
@@ -17,17 +18,17 @@
 backup=(etc/adobe/mms.cfg)
 
 if [ "$CARCH" = "i686" ]; then
-    source=('http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_11_linux.i386.tar.gz'
+    source=("http://fpdownload.macromedia.com/get/flashplayer/pdc/$pkgver/install_flash_player_11_linux.i386.tar.gz"
             "http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
             mms.cfg)
-    md5sums=('34051edfcb78e6db14567a6c5f53e161'
+    md5sums=('e9753df741e415c6d0707a2bf65f5940'
              '94ca2aecb409abfe36494d1a7ec7591d'
              'f34aae6279b40e0bd2abfb0d9963d7b8')
 elif [ "$CARCH" = "x86_64" ]; then
-    source=('http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_11_linux.x86_64.tar.gz'
+    source=("http://fpdownload.macromedia.com/get/flashplayer/pdc/$pkgver/install_flash_player_11_linux.x86_64.tar.gz"
             "http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
             mms.cfg)
-    md5sums=('782952c5730caa4e4cbe7e1d9dfa6214'
+    md5sums=('57f36b399d861b604611f045fc23cf8c'
              '94ca2aecb409abfe36494d1a7ec7591d'
              'f34aae6279b40e0bd2abfb0d9963d7b8')
 fi
@@ -35,7 +36,11 @@
 package () {
     cd ${srcdir}
     install -Dm755 libflashplayer.so "${pkgdir}/usr/lib/mozilla/plugins/libflashplayer.so"
-    install -Dm755 usr/lib/kde4/kcm_adobe_flash_player.so "${pkgdir}/usr/lib/kde4/kcm_adobe_flash_player.so"
+    if [ "$CARCH" = x86_64 ]; then
+        install -Dm755 usr/lib64/kde4/kcm_adobe_flash_player.so "${pkgdir}/usr/lib/kde4/kcm_adobe_flash_player.so"
+    else
+        install -Dm755 usr/lib/kde4/kcm_adobe_flash_player.so "${pkgdir}/usr/lib/kde4/kcm_adobe_flash_player.so"
+    fi
     install -Dm755 usr/bin/flash-player-properties "${pkgdir}/usr/bin/flash-player-properties"
     for i in 16x16 22x22 24x24 32x32 48x48; do
         install -Dm644 usr/share/icons/hicolor/${i}/apps/flash-player-properties.png \



More information about the arch-commits mailing list