# Template file for 'zix'
pkgname=zix
version=0.6.2
revision=1
build_style=meson
short_desc="C library of portability wrappers and data structures"
maintainer="Piraty <mail@piraty.dev>"
license="ISC"
homepage="https://gitlab.com/drobilla/zix/"
changelog="https://gitlab.com/drobilla/zix/-/raw/main/NEWS"
distfiles="https://download.drobilla.net/zix-${version}.tar.xz"
checksum=4bc771abf4fcf399ea969a1da6b375f0117784f8fd0e2db356a859f635f616a7

post_install() {
	vlicense COPYING
}

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