aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-10-30 17:42:26 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2015-10-30 17:42:26 +0100
commit3cf4efb781d2ad0c445369a3944f2012f2f204e1 (patch)
tree94a9bebee66bdf846f6963714d535ee11d41dc90 /community
parent79ac0ddc8d094b1a862473982a1c601653555a50 (diff)
downloadaports-3cf4efb781d2ad0c445369a3944f2012f2f204e1.tar.bz2
aports-3cf4efb781d2ad0c445369a3944f2012f2f204e1.tar.xz
community/mpv: examples are already installed to /usr/share/mpv/doc
Simplify move them to an examples/ subdirectory instead of installing them twice.
Diffstat (limited to 'community')
-rw-r--r--community/mpv/APKBUILD8
1 files changed, 4 insertions, 4 deletions
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 <ncopa@alpinelinux.org>
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() {