diff options
| author | 0x221E | 2026-06-14 14:06:45 +0200 |
|---|---|---|
| committer | 0x221E | 2026-06-14 14:06:45 +0200 |
| commit | cacee711ffebd105827ce8b35e4c13a4e674538a (patch) | |
| tree | 94bd8c29c08a8acb2b8e9e17531e79d02781bafb /templates/meson/template | |
initial commit
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 |
