New package: coeurl-0.1.0

This commit is contained in:
Lorem 2021-11-28 11:05:58 +05:30 committed by Érico Nogueira Rolim
parent 43abf9050f
commit bf8d5e83c7
3 changed files with 30 additions and 0 deletions

View file

@ -4070,3 +4070,4 @@ libbrial_groebner.so.3 brial-1.2.10_1
libm4ri-0.0.20200125.so m4ri-20200125_1
libm4rie-0.0.20200125.so m4rie-20200125_1
libptytty.so.0 libptytty-2.0_1
libcoeurl.so.0 coeurl-0.1.0_1

1
srcpkgs/coeurl-devel Symbolic link
View file

@ -0,0 +1 @@
coeurl

28
srcpkgs/coeurl/template Normal file
View file

@ -0,0 +1,28 @@
# 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"
}
}