diff options
Diffstat (limited to 'templates/meson/template')
| -rw-r--r-- | templates/meson/template | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/meson/template b/templates/meson/template new file mode 100644 index 0000000..6e777d4 --- /dev/null +++ b/templates/meson/template @@ -0,0 +1,20 @@ +pkgname=meson +version=1.11.1 +build_no=1 +upstream="https://github.com/mesonbuild/meson/releases/download/${version}/meson-${version}.tar.gz" + +makedeps=(python ninja) +depends=(python) + +function do_configure { + ./packaging/create_zipapp.py --outfile meson.pyz --interpreter '/usr/bin/env python3' +} + +function do_build { + echo "no action" +} + +function do_install { + mkdir -p "${DESTDIR}/usr/bin/" + cp meson.pyz "${DESTDIR}/usr/bin/meson" +}
\ No newline at end of file |
