void-packages/srcpkgs/zix/template

27 lines
680 B
Bash

# Template file for 'zix'
pkgname=zix
version=0.4.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://drobilla.net/category/zix/"
changelog="https://gitlab.com/drobilla/zix/-/raw/main/NEWS"
distfiles="https://download.drobilla.net/zix-${version}.tar.xz"
checksum=0c071cc11ab030bdc668bea3b46781b6dafd47ddd03b6d0c2bc1ebe7177e488d
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
}
}