2021-11-28 05:35:58 +00:00
|
|
|
# Template file for 'coeurl'
|
|
|
|
pkgname=coeurl
|
2021-12-23 13:33:32 +00:00
|
|
|
version=0.1.1
|
2021-11-28 05:35:58 +00:00
|
|
|
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"
|
2021-12-23 13:33:32 +00:00
|
|
|
checksum=e79becfc80b20ee8377e4282463ca2337df5a7b3f2f64b304a88ccd0128bef06
|
2021-11-28 05:35:58 +00:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|