prefix=/usr
includedir=${prefix}/include/stb
Name: stb
Description: stb single-file public domain libraries
Cflags: -I${includedir}
Version: {PV}
src_install() {
doheader -r stb
insinto /usr/share/pkgconfig
cp "${FILESDIR}/stb.pc" "${T}" || die
sed -i "s|{PV}|${PV}|g" "${T}/stb.pc" || die
doins "${T}/stb.pc"
}