# Template file for 'libcbor' pkgname=libcbor version=0.13.0 revision=1 build_style=cmake configure_args="-DBUILD_SHARED_LIBS=ON" short_desc="Library for parsing and generating CBOR, a binary data format" maintainer="Leah Neukirchen " license="MIT" homepage="https://github.com/PJK/libcbor" distfiles="https://github.com/PJK/libcbor/archive/v${version}.tar.gz" checksum=95a7f0dd333fd1dce3e4f92691ca8be38227b27887599b21cd3c4f6d6a7abb10 post_install() { vlicense LICENSE.md } libcbor-devel_package() { depends="libcbor>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/cmake vmove usr/lib/pkgconfig vmove "usr/lib/*.so" } }