From 3cf4efb781d2ad0c445369a3944f2012f2f204e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Fri, 30 Oct 2015 17:42:26 +0100 Subject: community/mpv: examples are already installed to /usr/share/mpv/doc Simplify move them to an examples/ subdirectory instead of installing them twice. --- community/mpv/APKBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'community') diff --git a/community/mpv/APKBUILD b/community/mpv/APKBUILD index 8dd50e631f..9487a383cc 100644 --- a/community/mpv/APKBUILD +++ b/community/mpv/APKBUILD @@ -4,7 +4,7 @@ # Maintainer: Natanael Copa pkgname=mpv pkgver=0.12.0 -pkgrel=0 +pkgrel=1 pkgdesc="Video player based on MPlayer/mplayer2" url="http://mpv.io/" arch="all" @@ -60,10 +60,10 @@ package() { "$pkgdir"/usr/share/doc/$pkgname || return 1 done - # Install example configuration files + # Move example configuration files to subdirectory mkdir -p "$pkgdir"/usr/share/doc/mpv/examples - install -Dm644 "$_builddir"/etc/*.conf \ - "$pkgdir"/usr/share/doc/mpv/examples || return 1 + mv "$pkgdir"/usr/share/doc/mpv/*.conf \ + "$pkgdir"/usr/share/doc/mpv/examples/ || return 1 } zshcomp() { -- cgit v1.2.3