mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-15 11:10:08 -07:00
34 lines
658 B
Bash
Executable File
34 lines
658 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
# Setup docutils to generate manual pages.
|
|
{
|
|
cd docutils
|
|
|
|
python3 setup.py build
|
|
python3 setup.py install \
|
|
--root="$PWD/../dist"
|
|
|
|
cd ../dist/usr/lib/python*/site-packages
|
|
|
|
PYTHONPATH=$PWD:$(python -c "import sys;print(':'.join(sys.path))")
|
|
|
|
cd -; cd ..
|
|
export PATH=$PWD/dist/usr/bin:$PATH
|
|
export PYTHONPATH
|
|
}
|
|
|
|
python waf/waf configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/share/man \
|
|
--confdir=/etc/mpv \
|
|
--enable-alsa \
|
|
--enable-wayland \
|
|
--disable-x11
|
|
|
|
python waf/waf build
|
|
python waf/waf install --destdir="$1"
|
|
|
|
rm -rf \
|
|
"$1/usr/share/zsh" \
|
|
"$1/usr/share/bash-completion"
|