21 lines
486 B
Python
Executable File
21 lines
486 B
Python
Executable File
#!/usr/bin/env modbuild
|
|
|
|
# upstream INSTALL.md: meson setup build && meson compile && meson install.
|
|
# default pbuild::prep downloads + sha-verifies + unpacks the tarball (urls/shasums
|
|
# in files/config.yaml, strip_dirs:1 puts the sources at $SRC_DIR root).
|
|
|
|
pbuild::configure() {
|
|
cd "${SRC_DIR}"
|
|
meson setup build --prefix="${PREFIX}"
|
|
}
|
|
|
|
pbuild::compile() {
|
|
cd "${SRC_DIR}"
|
|
meson compile -C build
|
|
}
|
|
|
|
pbuild::install() {
|
|
cd "${SRC_DIR}"
|
|
meson install -C build
|
|
}
|