APP=meson
VERSION=0.56.0
BUILD=1sml
HOMEPAGE='https://github.com/mesonbuild/meson'
DOWNLOAD='https://github.com/mesonbuild/meson/archive/refs/tags/0.56.0.tar.gz'
DESC="next generation build system based on python3 and ninja"
REQUIRES="python3 itstool ninja"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  python3 setup.py build
  python3 setup.py install --prefix="" --root="$PKG"

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
81cbe26bd378db568f6c3e7ad09312c1a0fcb940f5b917bb4dcfbc289ecb5cd57d9b6e657e0c5825fd9608749168425932f34ca5f7af84ca288ca67f9812d29d  meson-0.56.0.tar.lz
"
