void-packages/srcpkgs/inih/template
2020-10-24 15:02:58 +02:00

27 lines
688 B
Bash

# Template file for 'inih'
pkgname=inih
version=52
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=439cff9ce9a8afc52d08772ac3e93b3cecd79c7707f871fb4534fb3a48201880
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"
}
}