# Maintainer: PktSurf <smlinux@pktsurf.in>
app=meson
version=0.63.2
build=1sml
homepage="https://github.com/mesonbuild/meson"
download="https://github.com/mesonbuild/meson/releases/download/$version/meson-$version.tar.gz"
download="https://github.com/mesonbuild/meson/archive/refs/tags/$version.tar.gz"
desc="next generation build system based on python3 and ninja"
requires="python3 itstool ninja"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions
}

build() {
  python3 setup.py build
  python3 setup.py install --prefix="" --root="$pkg"

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
08d0d6dc1e9e5adf9a624969d575c25f96bac1bf3ab78d7914a7fe0984f31ef6ff4d1a3e6f11eeac2185d92bbb1ed801de2a0447d489f3946a62e108288b62e6  meson-0.63.2.tar.lz
"
