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

Ionut Biru ibiru at archlinux.org
Mon Feb 14 16:50:21 UTC 2011


    Date: Monday, February 14, 2011 @ 11:50:21
  Author: ibiru
Revision: 109965

upgpkg: flashplugin 10.2.152.27-2
to print the message, i really need to include the name of the .install in PKGBUILD. silly me

Modified:
  flashplugin/trunk/PKGBUILD
  flashplugin/trunk/flashplugin.install

---------------------+
 PKGBUILD            |    3 ++-
 flashplugin.install |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-02-14 14:01:08 UTC (rev 109964)
+++ PKGBUILD	2011-02-14 16:50:21 UTC (rev 109965)
@@ -5,7 +5,7 @@
 _licensefile='Reader_Player_AIR_WWEULA-Combined-20080204_1313.pdf'
 pkgver=10.2.152.27
 _pkgver64=10.0.45.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Adobe Flash Player'
 url='http://get.adobe.com/flashplayer'
 arch=('i686') # 'x86_64')
@@ -15,6 +15,7 @@
 provides=('flashplayer')
 license=('custom')
 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}"

Modified: flashplugin.install
===================================================================
--- flashplugin.install	2011-02-14 14:01:08 UTC (rev 109964)
+++ flashplugin.install	2011-02-14 16:50:21 UTC (rev 109965)
@@ -7,7 +7,7 @@
 }
 
 post_upgrade() {
-    if  [ "$(vercmp $2 10.2.152.27)" -lt 0 ]; then
+    if  [ "$(vercmp $2 10.2.152.27-2)" -lt 0 ]; then
         post_install $1
     fi
 }




More information about the arch-commits mailing list