From e6e8ee3115fb7e1c6561b4ca515c540e4f3d7da9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 8 Aug 2025 22:00:53 +0700 Subject: [PATCH] New package: toml11-4.4.0 --- srcpkgs/toml11/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/toml11/template diff --git a/srcpkgs/toml11/template b/srcpkgs/toml11/template new file mode 100644 index 00000000000..555e65e9ed2 --- /dev/null +++ b/srcpkgs/toml11/template @@ -0,0 +1,26 @@ +# Template file for 'toml11' +pkgname=toml11 +version=4.4.0 +revision=1 +build_style=cmake +short_desc="TOML for Modern C++" +maintainer="Đoàn Trần Công Danh " +license="GPL-3.0-or-later" +homepage="https://toruniina.github.io/toml11/" +distfiles="https://github.com/ToruNiina/toml11/archive/refs/tags/v${version}.tar.gz" +checksum=815bfe6792aa11a13a133b86e7f0f45edc5d71eb78f5fb6686c49c7f792b9049 + +post_install() { + cat <<-EOF >toml11.pc + prefix=/usr + exec_prefix=\${prefix} + includedir=\${prefix}/include + libdir=\${exec_prefix}/lib + + Name: toml11 + Description: ${short_desc} + Version: ${version} + Cflags: -I\${includedir} + EOF + vinstall toml11.pc 644 usr/lib/pkgconfig +}