# This is an example PKGBUILD file. Use this as a start to creating your own, # and remove these comments. For more information, see 'man PKGBUILD'. # NOTE: Please fill out the license field for your package! If it is unknown, # then please put 'unknown'. # Maintainer: Futura Linux Team pkgname=meson pkgver=1.6.0 pkgrel=1 pkgdesc="High productivity build system" arch=('x86_64') url="https://mesonbuild.com/" license=('Apache') depends=('ninja') makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') backup=(usr/share/meson/cross/meson_crossfile) source=(https://github.com/mesonbuild/meson/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz meson_crossfile future-meson) sha256sums=(999b65f21c03541cf11365489c1fad22e2418bb0c3d50ca61139f2eec09d5496 f5ca8a8d831123c750ee4541a7e0d6c0c39db29a12965a1a806fbc46643bdd38 7267f73db858411b9808c7cdce82f4967831eb50efe2c2d3dcdf6bf7adc2e992) build() { cd ${pkgname}-${pkgver} python3 -m build --wheel --no-isolation } package() { cd ${pkgname}-${pkgver} python3 -m installer -d ${pkgdir} dist/*.whl 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 install -vDm644 ${srcdir}/meson_crossfile ${pkgdir}/usr/share/meson/cross/meson_crossfile install -vDm755 ${srcdir}/future-meson ${pkgdir}/usr/bin/future-meson }