[arch-commits] Commit in (4 files)

David Runge dvzrv at gemini.archlinux.org
Sun Dec 19 18:31:58 UTC 2021


    Date: Sunday, December 19, 2021 @ 18:31:58
  Author: dvzrv
Revision: 1079081

Add tomlplusplus as dependency for yabridge.

Added:
  tomlplusplus/
  tomlplusplus/repos/
  tomlplusplus/trunk/
  tomlplusplus/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Added: tomlplusplus/trunk/PKGBUILD
===================================================================
--- tomlplusplus/trunk/PKGBUILD	                        (rev 0)
+++ tomlplusplus/trunk/PKGBUILD	2021-12-19 18:31:58 UTC (rev 1079081)
@@ -0,0 +1,23 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=tomlplusplus
+pkgver=2.5.0
+pkgrel=1
+pkgdesc="Header-only TOML config file parser and serializer for C++17"
+arch=(any)
+url="https://marzer.github.io/tomlplusplus/"
+license=(MIT)
+makedepends=(cmake meson)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/marzer/tomlplusplus/archive/refs/tags/v${pkgver}.tar.gz")
+sha512sums=('7394cda2009b37e88f9028ee5d1887120bed7042833c7cb218d7705cdc92273c81a84163ff0be034d3f23c8dd93e63b7615134a4b0e1c580e1e945fae45c7d35')
+b2sums=('75d1252cdc4021d7721afb941c65cc87b5d47a7f18d42b92069190dd4371d5dd26d95c455e0f290bd545d414d67ceb70025d4543b54395f02e6897bbba07fa7e')
+
+build() {
+  arch-meson "$pkgname-$pkgver" build
+  ninja -C build
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+  install -vDm 644 "$pkgname-$pkgver/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}



More information about the arch-commits mailing list