[arch-commits] Commit in tomlplusplus/repos (community-any community-any/PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Sun Dec 19 18:33:13 UTC 2021
Date: Sunday, December 19, 2021 @ 18:33:12
Author: dvzrv
Revision: 1079082
archrelease: copy trunk to community-any
Added:
tomlplusplus/repos/community-any/
tomlplusplus/repos/community-any/PKGBUILD
(from rev 1079081, tomlplusplus/trunk/PKGBUILD)
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Copied: tomlplusplus/repos/community-any/PKGBUILD (from rev 1079081, tomlplusplus/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2021-12-19 18:33:12 UTC (rev 1079082)
@@ -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