void-packages/srcpkgs/libucontext/template
Daniel Martinez c6a5e4d5c8
libucontext: update to 1.3.2.
Closes: #53722 [via git-merge-pr]
2025-02-17 23:00:00 -05:00

30 lines
863 B
Bash

# Template file for 'libucontext'
pkgname=libucontext
version=1.3.2
revision=1
archs="*-musl"
build_style=meson
configure_args="-Ddocs=true"
hostmakedepends="pkg-config scdoc"
short_desc="Compatibility layer providing ucontext functions"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://github.com/kaniini/libucontext"
changelog="https://raw.githubusercontent.com/kaniini/libucontext/master/NEWS"
distfiles="https://github.com/kaniini/libucontext/archive/refs/tags/libucontext-${version}.tar.gz"
checksum=4faf1838a15d61efe27ddac24fded2c290929eb3a1fefc72f952ae96d5bda006
post_install() {
vlicense LICENSE
}
libucontext-devel_package() {
depends="libucontext>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}