void-packages/srcpkgs/inih/template

27 lines
664 B
Bash

# Template file for 'inih'
pkgname=inih
version=53
revision=1
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=01b0366fdfdf6363efc070c2f856f1afa33e7a6546548bada5456ad94a516241
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"
}
}