# Template file for 'libblake3'
pkgname=libblake3
version=1.8.5
revision=1
build_wrksrc=c
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
short_desc="Blake3 libraries"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/BLAKE3-team/BLAKE3"
distfiles="https://github.com/BLAKE3-team/BLAKE3/archive/refs/tags/$version.tar.gz"
checksum=220bd81286e2a0585beac66d41ac3f4c2c33ae8a4e339fc88cf22d5e00514fe9

libblake3-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
