void-packages/srcpkgs/libcbor/template
Juan RP 8364b546d8
libcbor: update checksum.
No diff compared to previous tarball. Looks like they simply
remade it for some reason.
2020-04-13 21:12:14 +02:00

26 lines
677 B
Bash

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