summaryrefslogtreecommitdiff
path: root/templates/meson/template
blob: 6e777d421c2f91fad1180c76960d2c28810ee388 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"
}