2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-16 11:40:21 -07:00
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"