abuild (308B)
1 name=mpv 2 version=0.40.0 3 release=1 4 source="https://github.com/${name}-player/${name}/archive/v${version}/${name}-${version}.tar.gz" 5 build_opt="-Dwayland=enabled" 6 [ -f $SPM_PKGDB/libx11 ] && build_opt="$build_opt -Dx11=enabled" 7 8 postbuild() { 9 rm -r \ 10 $PKG/usr/share/zsh \ 11 $PKG/usr/share/bash-completion 12 }