#Packager: George Vlahavas pkgname=mpv pkgver=0.17.0 pkgrel=1gv _wafver=1.8.20 source=("https://github.com/mpv-player/mpv/archive/v$pkgver.tar.gz" "https://waf.io/waf-${_wafver}.tar.bz2") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=https://mpv.io/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "mpv (Video player based on MPlayer/mplayer2)" "mpv is a fork of mplayer2 and MPlayer. It shares some features with" "the former projects while introducing many more." ) build() { cd $startdir/src/$pkgname-$pkgver install -m755 $startdir/src/waf-${_wafver}/waf waf ./waf configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --confdir=/etc/mpv \ --enable-cdda \ --enable-encoding \ --enable-libarchive \ --enable-sdl1 \ --enable-libmpv-shared \ --enable-zsh-comp ./waf build || return 1 ./waf install --destdir="$startdir/pkg" install -m644 DOCS/{encoding.rst,tech-overview.txt} \ "$startdir/pkg"/usr/share/doc/mpv }