aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-10-23 16:58:19 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-10-23 16:58:19 +0200
commit73433bea16dd3b9a119cf95a9a5d9dfe5eeb3950 (patch)
tree6547f4606391a96726c8d9f1cc6de08baa33f526 /community
parent0f1d7ce793118e84263e18fd6d403859a4adbc80 (diff)
downloadaports-73433bea16dd3b9a119cf95a9a5d9dfe5eeb3950.tar.bz2
aports-73433bea16dd3b9a119cf95a9a5d9dfe5eeb3950.tar.xz
community/mpv: upgrade to 0.21.0
Diffstat (limited to 'community')
-rw-r--r--community/mpv/APKBUILD17
1 files changed, 7 insertions, 10 deletions
diff --git a/community/mpv/APKBUILD b/community/mpv/APKBUILD
index edc69ddb68..77505cccf1 100644
--- a/community/mpv/APKBUILD
+++ b/community/mpv/APKBUILD
@@ -3,7 +3,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mpv
-pkgver=0.20.0
+pkgver=0.21.0
pkgrel=0
pkgdesc="Video player based on MPlayer/mplayer2"
url="http://mpv.io/"
@@ -19,7 +19,7 @@ subpackages="
$pkgname-doc
$pkgname-libs
$pkgname-zsh-completion:zshcomp"
-source="$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/mpv/archive/v$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
@@ -49,12 +49,9 @@ package() {
cd "$builddir"
./waf install --destdir="$pkgdir" || return 1
- local file=
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
- for file in "$builddir"/DOCS/*.rst "$builddir"/DOCS/*.md; do
- install -Dm644 "$file" \
- "$pkgdir"/usr/share/doc/$pkgname || return 1
- done
+ install -m644 "$builddir"/DOCS/*.rst "$builddir"/DOCS/*.md \
+ "$pkgdir"/usr/share/doc/$pkgname/ || return 1
# Move example configuration files to subdirectory
mkdir -p "$pkgdir"/usr/share/doc/mpv/examples
@@ -73,6 +70,6 @@ zshcomp() {
"$subpkgdir/usr/share/zsh/site-functions" || return 1
}
-md5sums="346a04f35966c21b4bc76517b36e8a80 mpv-0.20.0.tar.gz"
-sha256sums="fe6ec9d2ded5ce84b963f54b812d579d04f944f4a737f3ae639c4d5d9e842b56 mpv-0.20.0.tar.gz"
-sha512sums="6b00bde2aa802cbc104a7c3e85dc0165010113f9942f881b023434f8ead04a2cb5486cd3dd32c14ea86c54ed9a2b976124bd007e8e40e3d8754c48bb33c4b512 mpv-0.20.0.tar.gz"
+md5sums="e0d83a883bc34f67d568c025b036b584 mpv-0.21.0.tar.gz"
+sha256sums="d05f8ece859c500ef1649cdfea911ec1529df1898b8fda3e217766dc28dc9bd3 mpv-0.21.0.tar.gz"
+sha512sums="f4072fc3a351643f94c64c8da43560458d53072e61d099670903319f21576ccbdfa053a57c1ac09fe51e067e5055e1bb691ee93645ea2dea04b95fd96d937d16 mpv-0.21.0.tar.gz"