diff options
author | root <root@rshg054.dnsready.net> | 2013-10-17 01:14:24 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-17 01:14:24 -0700 |
commit | c72dc5de577922ea7f6002cdabcfac1576eae211 (patch) | |
tree | 3b8c1ab907b1575184230eb1adc05e26e3a1b87a /community/mpv | |
parent | c22d00d6478c9a00b4c7e491af65637537247c8f (diff) |
Thu Oct 17 01:13:29 PDT 2013
Diffstat (limited to 'community/mpv')
-rw-r--r-- | community/mpv/PKGBUILD | 13 | ||||
-rw-r--r-- | community/mpv/mpv.install | 12 |
2 files changed, 20 insertions, 5 deletions
diff --git a/community/mpv/PKGBUILD b/community/mpv/PKGBUILD index a02999b94..8124effb1 100644 --- a/community/mpv/PKGBUILD +++ b/community/mpv/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 98298 2013-10-08 06:09:02Z bpiotrowski $ +# $Id: PKGBUILD 98686 2013-10-16 20:24:06Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Eivind Uggedal <eivind@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 @@ url='http://mpv.io' 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 @@ package() { "$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 } diff --git a/community/mpv/mpv.install b/community/mpv/mpv.install new file mode 100644 index 000000000..5c501dc49 --- /dev/null +++ b/community/mpv/mpv.install @@ -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 +} |