void-packages/srcpkgs/coeurl/template

28 lines
752 B
Bash

# Template file for 'coeurl'
pkgname=coeurl
version=0.3.0
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="spdlog libevent-devel libcurl-devel"
short_desc="Simple async wrapper around CURL for C++"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://nheko.im/nheko-reborn/coeurl"
distfiles="https://nheko.im/nheko-reborn/coeurl/-/archive/v${version}/coeurl-v${version}.tar.gz"
checksum=48b07482364edcbed03e352f6b8b07e327c331eaa45707ad58e62930fa361382
post_install() {
vlicense LICENSE
}
coeurl-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}