forked from kiss-community/repo
34 lines
605 B
Bash
Executable File
34 lines
605 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
|
|
}
|
|
|
|
meson \
|
|
--prefix=/usr \
|
|
-Dalsa=enabled \
|
|
-Dlibmpv=true \
|
|
-Dwayland=enabled \
|
|
-Dx11=disabled \
|
|
. output
|
|
|
|
ninja -C output
|
|
ninja -C output install
|
|
|
|
rm -rf \
|
|
"$1/usr/share/zsh" \
|
|
"$1/usr/share/bash-completion"
|