summaryrefslogtreecommitdiff
path: root/community/gnome-mplayer
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-29 22:32:36 +0000
committerroot <root@rshg047.dnsready.net>2011-04-29 22:32:36 +0000
commit693b5793b8c615601135bc04216a2ca0966087c5 (patch)
tree1c1cf0bc5020b0226efff0b39c7847b3414efaa6 /community/gnome-mplayer
parent19f42937be8f6619a85663cb71e24c05b7e8b6d2 (diff)
Fri Apr 29 22:32:36 UTC 2011
Diffstat (limited to 'community/gnome-mplayer')
-rw-r--r--community/gnome-mplayer/PKGBUILD10
-rw-r--r--community/gnome-mplayer/gnome-mplayer.install17
2 files changed, 19 insertions, 8 deletions
diff --git a/community/gnome-mplayer/PKGBUILD b/community/gnome-mplayer/PKGBUILD
index f75d0dd82..090043d00 100644
--- a/community/gnome-mplayer/PKGBUILD
+++ b/community/gnome-mplayer/PKGBUILD
@@ -1,20 +1,20 @@
-# $Id: PKGBUILD 41527 2011-03-07 14:09:14Z lfleischer $
+# $Id: PKGBUILD 45739 2011-04-28 09:17:53Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Allan McRae <mcrae_allan@hotmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=gnome-mplayer
-pkgver=1.0.2
-pkgrel=2
+pkgver=1.0.3
+pkgrel=1
pkgdesc='A simple MPlayer GUI.'
arch=('i686' 'x86_64')
url='http://gnome-mplayer.googlecode.com/'
license=('GPL')
-depends=('mplayer' 'dbus-glib' 'libnotify')
+depends=('mplayer' 'dbus-glib' 'libnotify' 'gtk2' 'dconf' 'hicolor-icon-theme')
makedepends=('gnome-power-manager' 'nautilus')
install="${pkgname}.install"
source=("http://gnome-mplayer.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
-md5sums=('2cbba8838ecaa03a4c3a0190dcabfade')
+md5sums=('72a1c7d640a67eb2d60f2671108919c2')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/community/gnome-mplayer/gnome-mplayer.install b/community/gnome-mplayer/gnome-mplayer.install
index 6b1b64bdd..35db81614 100644
--- a/community/gnome-mplayer/gnome-mplayer.install
+++ b/community/gnome-mplayer/gnome-mplayer.install
@@ -1,11 +1,22 @@
post_install() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+pre_upgrade() {
+ pre_remove $1
}
post_upgrade() {
- post_install
+ post_install $1
+}
+
+pre_remove() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
}
post_remove() {
- post_install
+ update-desktop-database -q
+ gtk-update-icon-cache -q -f -t usr/share/icons/hicolor
}