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

Ionut Biru ibiru at archlinux.org
Sat Feb 19 12:54:27 UTC 2011


    Date: Saturday, February 19, 2011 @ 07:54:27
  Author: ibiru
Revision: 110438

upgpkg: mplayer 32792-2
execute update-desktop-database in install scrip. FS#22934

Added:
  mplayer/trunk/mplayer.install
Modified:
  mplayer/trunk/PKGBUILD

-----------------+
 PKGBUILD        |    5 +++--
 mplayer.install |   11 +++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-02-19 12:25:16 UTC (rev 110437)
+++ PKGBUILD	2011-02-19 12:54:27 UTC (rev 110438)
@@ -4,15 +4,16 @@
 
 pkgname=mplayer
 pkgver=32792
-pkgrel=1
+pkgrel=2
 pkgdesc="A movie player for linux"
 arch=('i686' 'x86_64')
 depends=('libxxf86dga' 'libxxf86vm' 'libmad' 'cdparanoia' 'libxinerama' 'sdl' 'lame' 'libtheora' 'xvidcore' 'libmng' 'libxss'
          'libgl' 'smbclient' 'aalib' 'jack' 'libcaca' 'x264' 'faac' 'lirc-utils' 'ttf-dejavu' 'libxvmc' 'enca' 'libvdpau>=0.4'
-         'opencore-amr' 'libdca' 'a52dec' 'schroedinger' 'libvpx' 'libpulse')
+         'opencore-amr' 'libdca' 'a52dec' 'schroedinger' 'libvpx' 'libpulse' 'desktop-file-utils')
 license=('GPL')
 url="http://www.mplayerhq.hu/"
 makedepends=('unzip' 'mesa' 'live-media>=2010.01.13' 'yasm')
+install=mplayer.install
 backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf')
 source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz mplayer.desktop mplayer.png)
 md5sums=('a48845de4b410ab7799ee87a038dd58e'

Added: mplayer.install
===================================================================
--- mplayer.install	                        (rev 0)
+++ mplayer.install	2011-02-19 12:54:27 UTC (rev 110438)
@@ -0,0 +1,11 @@
+post_install() {
+    update-desktop-database -q
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}




More information about the arch-commits mailing list