void-packages/srcpkgs/inih/template

27 lines
684 B
Bash

# Template file for 'inih'
pkgname=inih
version=56
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="https://github.com/benhoyt/inih/archive/r${version}.tar.gz"
checksum=4f2ba6bd122d30281a8c7a4d5723b7af90b56aa828c0e88256d7fceda03a491a
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"
}
}