repo/extra/mpv/build
2021-07-12 04:02:05 +03:00

19 lines
317 B
Bash
Executable File

#!/bin/sh -e
ln -s waf-2.0.18 waf
python waf configure \
--prefix=/usr \
--mandir=/usr/share/man \
--confdir=/etc/mpv \
--enable-alsa \
--enable-wayland \
--disable-x11
python waf build
python waf install --destdir="$1"
rm -rf \
"$1/usr/share/zsh" \
"$1/usr/share/bash-completion"