Date: Wednesday, October 16, 2013 @ 22:23:54 Author: bpiotrowski Revision: 98685
upgpkg: mpv 0.2.0-1 - new upstream release Added: mpv/trunk/mpv.install Modified: mpv/trunk/PKGBUILD -------------+ PKGBUILD | 11 +++++++---- mpv.install | 12 ++++++++++++ 2 files changed, 19 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-10-16 20:17:22 UTC (rev 98684) +++ PKGBUILD 2013-10-16 20:23:54 UTC (rev 98685) @@ -3,8 +3,8 @@ # Contributor: Eivind Uggedal <eiv...@uggedal.com> pkgname=mpv -pkgver=0.1.7 -pkgrel=3 +pkgver=0.2.0 +pkgrel=1 pkgdesc='Video player based on MPlayer/mplayer2' arch=('i686' 'x86_64') license=('GPL') @@ -12,11 +12,13 @@ depends=( 'portaudio' 'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libxinerama' 'libquvi' 'mpg123' 'libxv' 'libxkbcommon' 'libva' 'lirc-utils' + 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' ) makedepends=('mesa' 'python-docutils') options=(!emptydirs) +install=mpv.install source=("https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz") -md5sums=('69185e255fe6e8b6b13dcf6ea9b2fefb') +md5sums=('f86a6e99093b83717edded92ad8346b1') build() { unset CFLAGS @@ -49,5 +51,6 @@ "$pkgdir"/usr/share/doc/mpv/examples install -m644 DOCS/{encoding.rst,tech-overview.txt} \ "$pkgdir"/usr/share/doc/mpv - install -m755 TOOLS/mpv_identify.sh "$pkgdir"/usr/bin + + #install -Dm644 etc/mpv.desktop "$pkgdir"/usr/share/applications/mpv.desktop } Added: mpv.install =================================================================== --- mpv.install (rev 0) +++ mpv.install 2013-10-16 20:23:54 UTC (rev 98685) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}