From e4dbe06ddaf9efd1018e7db11e6d50273042b094 Mon Sep 17 00:00:00 2001 From: Anthony Iliopoulos Date: Wed, 26 Aug 2020 20:33:28 +0200 Subject: [PATCH] New package: inih-51 --- srcpkgs/inih-devel | 1 + srcpkgs/inih/template | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 120000 srcpkgs/inih-devel create mode 100644 srcpkgs/inih/template diff --git a/srcpkgs/inih-devel b/srcpkgs/inih-devel new file mode 120000 index 0000000000..e7c667bc40 --- /dev/null +++ b/srcpkgs/inih-devel @@ -0,0 +1 @@ +inih \ No newline at end of file diff --git a/srcpkgs/inih/template b/srcpkgs/inih/template new file mode 100644 index 0000000000..e9f73af5ab --- /dev/null +++ b/srcpkgs/inih/template @@ -0,0 +1,27 @@ +# Template file for 'inih' +pkgname=inih +version=51 +revision=1 +wrksrc=inih-r${version} +build_style=meson +configure_args="-Ddistro_install=true -Ddefault_library=shared" +short_desc="Simple ini file parser library" +maintainer="Anthony Iliopoulos " +license="BSD-3-Clause" +homepage="https://github.com/benhoyt/inih" +distfiles="${homepage}/archive/r${version}.tar.gz" +checksum=132361da6d3172760a40319722b50244aee1b7ce7077a0dd8805881e6a8ea4aa + +post_install() { + vlicense LICENSE.txt +} + +inih-devel_package() { + short_desc+=" - development files" + depends="inih-${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +}