void-packages/srcpkgs/inih/template

27 lines
676 B
Bash

# Template file for 'inih'
pkgname=inih
version=58
revision=1
build_style=meson
configure_args="-Ddistro_install=true -Ddefault_library=shared"
short_desc="Simple ini file parser library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/benhoyt/inih"
distfiles="https://github.com/benhoyt/inih/archive/r${version}.tar.gz"
checksum=e79216260d5dffe809bda840be48ab0eec7737b2bb9f02d2275c1b46344ea7b7
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"
}
}