1 # Maintainer: David Runge <dvzrv@archlinux.org>
6 pkgdesc="Header-only TOML config file parser and serializer for C++17"
8 url="https://marzer.github.io/tomlplusplus/"
10 depends=(gcc-libs glibc)
11 makedepends=(cmake meson)
12 provides=(libtomlplusplus.so)
13 source=($pkgname-$pkgver.tar.gz::https://github.com/marzer/$pkgname/archive/refs/tags/v$pkgver.tar.gz)
14 sha512sums=('b3e9933719bdddca9c38ed269f90bccac59407c87f58a885e0ed818aee147758a7279c8c1406516ee95df92a2bde9dd3d6551faf2c84e537315871a9f1a1ff95')
15 b2sums=('26031acaa2a26006fdc8888764c3448d360df2251503d4fb044f8904277a6807fe8606bacff78689e0ba891d50e756ebb84fa5c086bf41c1723be64aa3459500')
18 arch-meson $pkgname-$pkgver build
23 meson install -C build --destdir "$pkgdir"
24 install -vDm 644 $pkgname-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"