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

Ionut Biru ibiru at archlinux.org
Tue Oct 4 05:16:40 EDT 2011


    Date: Tuesday, October 4, 2011 @ 05:16:40
  Author: ibiru
Revision: 139646

update to 11.0.1.152, bring back x86_64 YEY

Modified:
  flashplugin/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++++++++++++---------
 1 file changed, 21 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-10-04 08:51:10 UTC (rev 139645)
+++ PKGBUILD	2011-10-04 09:16:40 UTC (rev 139646)
@@ -2,12 +2,12 @@
 # Contributor: Andrea Scarpino <andrea at archlinux.org>
 
 pkgname=flashplugin
-_licensefile='Reader_Player_AIR_WWEULA-Combined-20080204_1313.pdf'
-pkgver=10.3.183.10
+_licensefile='PlatformClients_PC_WWEULA_Combined_20100108_1657.pdf'
+pkgver=11.0.1.152
 pkgrel=1
 pkgdesc='Adobe Flash Player'
 url='http://get.adobe.com/flashplayer'
-arch=('i686') # 'x86_64')
+arch=('i686' 'x86_64')
 depends=('mozilla-common' 'libxt' 'gtk2' 'nss' 'curl' 'hicolor-icon-theme')
 optdepends=('libvdpau: GPU acceleration on Nvidia card')
 provides=('flashplayer')
@@ -15,22 +15,34 @@
 options=(!strip)
 install=flashplugin.install
 backup=(etc/adobe/mms.cfg)
-source=('http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz'
-        "http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
-         mms.cfg)
-md5sums=('f04482fcfa0ccd081447d15341762978'
-         '1636037610ee2aa35c5fb736a697b7e0'
-         'f34aae6279b40e0bd2abfb0d9963d7b8')
 
+if [ "$CARCH" = "i686" ]; then
+    source=('http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_11_linux.i386.tar.gz'
+            "http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
+            mms.cfg)
+    md5sums=('34051edfcb78e6db14567a6c5f53e161'
+             '94ca2aecb409abfe36494d1a7ec7591d'
+             'f34aae6279b40e0bd2abfb0d9963d7b8')
+elif [ "$CARCH" = "x86_64" ]; then
+    source=('http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_11_linux.x86_64.tar.gz'
+            "http://www.adobe.com/products/eulas/pdfs/${_licensefile}"
+            mms.cfg)
+    md5sums=('782952c5730caa4e4cbe7e1d9dfa6214'
+             '94ca2aecb409abfe36494d1a7ec7591d'
+             'f34aae6279b40e0bd2abfb0d9963d7b8')
+fi
+
 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"
     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 \
             "${pkgdir}/usr/share/icons/hicolor/${i}/apps/flash-player-properties.png"
     done
     install -Dm644 usr/share/applications/flash-player-properties.desktop "${pkgdir}/usr/share/applications/flash-player-properties.desktop"
+    install -Dm644 usr/share/kde4/services/kcm_adobe_flash_player.desktop "${pkgdir}/usr/share/kde4/services/kcm_adobe_flash_player.desktop"
     install -Dm644 "${_licensefile}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.pdf"
     install -Dm644 ${srcdir}/mms.cfg "${pkgdir}/etc/adobe/mms.cfg"
 }



More information about the arch-commits mailing list