update to 12.4-systemd: meson-1.8.3

This commit is contained in:
2025-12-22 02:28:14 -05:00
parent 3cba0dfed7
commit 9aa5d90f6c

View File

@@ -1,23 +1,24 @@
pkgname=meson
pkgver=1.7.0
pkgver=1.8.3
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")
md5sums=("08221d2f515e759686f666ff6409a903")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
export PYTHONDONTWRITEBYTECODE=1
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}
pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --ignore-installed --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
}