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

Andrea Scarpino andrea at archlinux.org
Fri Mar 5 14:56:32 EST 2010


    Date: Friday, March 5, 2010 @ 14:56:31
  Author: andrea
Revision: 71278

upgpkg: kmplayer 0.11.2-1
upstream release

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

------------------+
 PKGBUILD         |   10 +++++++---
 kmplayer.install |   11 +++++++++++
 2 files changed, 18 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-03-05 19:11:22 UTC (rev 71277)
+++ PKGBUILD	2010-03-05 19:56:31 UTC (rev 71278)
@@ -3,7 +3,7 @@
 # Contributor: damir <damir at archlinux.org>
 
 pkgname=kmplayer
-pkgver=0.11.1b
+pkgver=0.11.2
 pkgrel=1
 pkgdesc="Video player plugin for Konqueror and basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend for KDE"
 arch=('i686' 'x86_64')
@@ -11,9 +11,9 @@
 url="http://kmplayer.kde.org"
 depends=('kdebase-runtime' 'gtk2')
 makedepends=('pkgconfig' 'cmake' 'automoc4')
+install=${pkgname}.install
 source=("http://kmplayer.kde.org/pkgs/$pkgname-$pkgver.tar.bz2")
-md5sums=('a6b2c9dd8650e36cd6521d152bb5d9c9')
-options=('force')
+md5sums=('ff47bee19df493ffb690df18dcba6e19')
 
 build() {
   cd ${srcdir}
@@ -23,6 +23,10 @@
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr
   make || return 1
+}
+
+package() {
+  cd ${srcdir}/build
   make DESTDIR=${pkgdir} install
 
   # icons are included in oxygen-icons

Added: kmplayer.install
===================================================================
--- kmplayer.install	                        (rev 0)
+++ kmplayer.install	2010-03-05 19:56:31 UTC (rev 71278)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list