update to 12.3: meson

This commit is contained in:
2025-03-26 11:35:19 -04:00
parent 1eccd731d2
commit 8efca34c25

23
lfs/meson-1.7.0.PKGBUILD Normal file
View File

@@ -0,0 +1,23 @@
pkgname=meson
pkgver=1.7.0
pkgdesc="High productivity build system"
homepage="https://mesonbuild.com/"
arch=(any)
license=(Apache-2.0)
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/mesonbuild/meson/releases/download/${pkgver}/${sources[0]}")
md5sums=("c20f3e5ebbb007352d22f4fd6ceb925c")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
}
src_install() {
pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --force-reinstall --root ${pkgdir} --find-links dist ${pkgname}
install -vDm644 data/shell-completions/bash/meson ${pkgdir}/usr/share/bash-completion/completions/meson
install -vDm644 data/shell-completions/zsh/_meson ${pkgdir}/usr/share/zsh/site-functions/_meson
}