3.52. meson-0.59.1

#!/bin/sh
# Copyright © 1999-2022 Gerard Beekmans
# Copyright © 2020-2022 Random Crew
# Distributed under the terms of MIT License.

Configuration

src_config()
{
    return
}

Compilation

src_compile()
{
    python3 setup.py build
}

Installation

src_install()
{
    python3 setup.py install --root=${D}

    install -vDm644 data/shell-completions/bash/meson \
        ${D}${PREFIX}/share/bash-completion/completions/meson
    install -vDm644 data/shell-completions/zsh/_meson \
        ${D}${PREFIX}/share/zsh/site-functions/_meson
}

Build code

meson.build

Other files

meta.txt

Links

url.lfs: https://linuxfromscratch.org/lfs/view/11.0/chapter08/meson.html