void-packages/srcpkgs/coeurl/template
2021-11-29 16:23:05 -03:00

28 lines
783 B
Bash

# Template file for 'coeurl'
pkgname=coeurl
version=0.1.0
revision=1
wrksrc=coeurl-v${version}
build_style=meson
hostmakedepends="pkg-config"
makedepends="spdlog libevent-devel libcurl-devel"
short_desc="Simple async wrapper around CURL for C++"
maintainer="Lorem <notloremipsum@protonmail.com>"
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=2861453317c6da359a00083e39d899dfe0fc71becadd726ef845a5fba57d3f64
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"
}
}