void-packages/srcpkgs/coeurl/template
2021-12-23 11:24:11 -03:00

28 lines
783 B
Bash

# Template file for 'coeurl'
pkgname=coeurl
version=0.1.1
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=e79becfc80b20ee8377e4282463ca2337df5a7b3f2f64b304a88ccd0128bef06
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"
}
}