37 lines
1.4 KiB
Bash
37 lines
1.4 KiB
Bash
#!/bin/sh
|
|
name="muon"
|
|
short_desc="Build system compatible with meson"
|
|
desc="muon is an implementation of the meson build system in c99 with minimal
|
|
dependencies.
|
|
|
|
# Non-features
|
|
* bug-for-bug compatibility with meson. In fact, muon aspires to be stricter
|
|
than meson in cases where meson's implementation seems error prone. muon uses
|
|
the official meson documentation as its specification.
|
|
* cli compatibility with meson. muon has different flags, subcommands, etc., and
|
|
should not be renamed/symlinked to meson.
|
|
|
|
# Features
|
|
* muon analyze - a static analyzer for meson.build files. Capable of doing type
|
|
inference, checking unused variables, undeclared variables, etc.
|
|
* muon fmt_unstable - a meson.build code formatter
|
|
* An interactive stepping debugger with the dbg() function.
|
|
* Fast"
|
|
category="devel"
|
|
version="0.2.0"
|
|
maintainer="ffqq@danwin1210.de"
|
|
www="https://gitea.treehouse.systems/ariadne/pkgconf"
|
|
master_site="https://git.sr.ht/~lattis/muon/archive"
|
|
source_name="$version.tar.gz"
|
|
license_logic="single" # accepted values: single, and, or
|
|
licenses=("GPLv3")
|
|
|
|
build_dependencies=("devel/ninja" "devel/muon" "devel/pkgconf" "lang/gcc")
|
|
run_dependencies=("system/glibc" "devel/ninja")
|
|
|
|
build_process() {
|
|
cd $name-$version || exit 1
|
|
PKG_CONFIG_PATH=/usr/lib/pkgconfig muon setup -Dprefix=/usr build
|
|
ninja -C build
|
|
DESTDIR=$TAMANDUA_STAGE_DIR muon -C build install
|
|
} |