New package: toml11-4.4.0

This commit is contained in:
Đoàn Trần Công Danh 2025-08-08 22:00:53 +07:00 committed by Đoàn Trần Công Danh
parent 5aa2b71d07
commit e6e8ee3115

26
srcpkgs/toml11/template Normal file
View file

@ -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 <congdanhqx@gmail.com>"
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
}