27 lines
676 B
Bash
27 lines
676 B
Bash
# Template file for 'inih'
|
|
pkgname=inih
|
|
version=57
|
|
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=f03f98ca35c3adb56b2358573c8d3eda319ccd5287243d691e724b7eafa970b3
|
|
|
|
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"
|
|
}
|
|
}
|