diff --git a/common/shlibs b/common/shlibs index 276a49d1caf..9bcf0c5756b 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4290,3 +4290,4 @@ libunicode_ucd.so.0.4 libunicode-0.4.0_1 libunicode_loader.so.0.4 libunicode-0.4.0_1 force-stage.so.0.1 void-force-stage-0.1_1 libliftoff.so.0 libliftoff-0.4.1_1 +libscfg.so libscfg-0.1.1_1 diff --git a/srcpkgs/libscfg-devel b/srcpkgs/libscfg-devel new file mode 120000 index 00000000000..a59c97ab42b --- /dev/null +++ b/srcpkgs/libscfg-devel @@ -0,0 +1 @@ +libscfg \ No newline at end of file diff --git a/srcpkgs/libscfg/template b/srcpkgs/libscfg/template new file mode 100644 index 00000000000..2e0a093405d --- /dev/null +++ b/srcpkgs/libscfg/template @@ -0,0 +1,25 @@ +# Template file for 'libscfg' +pkgname=libscfg +version=0.1.1 +revision=1 +build_style=meson +short_desc="C library for scfg, a simple configuration format" +maintainer="Andrew J. Hesford " +license="MIT" +homepage="https://git.sr.ht/~emersion/libscfg" +changelog="https://git.sr.ht/~emersion/libscfg/refs" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=621a91bf233176e0052e9444f0a42696ad1bfda24b25c027c99cb6e693f273d7 + +post_install() { + vlicense LICENSE +} + +libscfg-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +}