2019-08-04 15:07:28 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2021-08-22 09:37:53 -06:00
|
|
|
# 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
|
|
|
|
}
|
|
|
|
|
2022-04-20 03:44:40 -06:00
|
|
|
meson \
|
2019-08-04 15:07:28 -06:00
|
|
|
--prefix=/usr \
|
2022-04-20 03:44:40 -06:00
|
|
|
-Dalsa=enabled \
|
|
|
|
-Dwayland=enabled \
|
|
|
|
-Dx11=disabled \
|
|
|
|
. output
|
2019-08-04 15:07:28 -06:00
|
|
|
|
2022-04-20 03:44:40 -06:00
|
|
|
ninja -C output
|
|
|
|
ninja -C output install
|
2022-04-20 22:31:01 -06:00
|
|
|
|
|
|
|
rm -rf \
|
|
|
|
"$1/usr/share/zsh" \
|
|
|
|
"$1/usr/share/bash-completion"
|