New package: inih-51

This commit is contained in:
Anthony Iliopoulos 2020-08-26 20:33:28 +02:00 committed by Piotr
parent fda2b8c547
commit e4dbe06dda
2 changed files with 28 additions and 0 deletions

1
srcpkgs/inih-devel Symbolic link
View file

@ -0,0 +1 @@
inih

27
srcpkgs/inih/template Normal file
View file

@ -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 <ailiop@altatus.com>"
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"
}
}