# Contributor: Zach DeCook # Maintainer: Zach DeCook pkgname=tomlplusplus pkgver=3.4.0 pkgrel=1 pkgdesc="Header-only TOML config file parser and serializer for C++17." url="https://marzer.github.io/tomlplusplus/" arch="all" license="MIT" source="https://github.com/marzer/tomlplusplus/archive/v3.4.0/tomlplusplus-v3.4.0.tar.gz" makedepends="cmake meson nlohmann-json catch2-3" subpackages="$pkgname-dev $pkgname-doc" build() { abuild-meson . output meson compile -C output } check() { meson test --no-rebuild -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } sha512sums=" c227fc8147c9459b29ad24002aaf6ab2c42fac22ea04c1c52b283a0172581ccd4527b33c1931e0ef0d1db6b6a53f9e9882c6d4231c7f3494cf070d0220741aa5 tomlplusplus-v3.4.0.tar.gz "