From bf8d5e83c7d15e86375bcc4319941da4c00b74d1 Mon Sep 17 00:00:00 2001 From: Lorem Date: Sun, 28 Nov 2021 11:05:58 +0530 Subject: [PATCH] New package: coeurl-0.1.0 --- common/shlibs | 1 + srcpkgs/coeurl-devel | 1 + srcpkgs/coeurl/template | 28 ++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 120000 srcpkgs/coeurl-devel create mode 100644 srcpkgs/coeurl/template diff --git a/common/shlibs b/common/shlibs index dac22845d4..527588585a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/coeurl-devel b/srcpkgs/coeurl-devel new file mode 120000 index 0000000000..bdd2ff71f0 --- /dev/null +++ b/srcpkgs/coeurl-devel @@ -0,0 +1 @@ +coeurl \ No newline at end of file diff --git a/srcpkgs/coeurl/template b/srcpkgs/coeurl/template new file mode 100644 index 0000000000..dd6600a89b --- /dev/null +++ b/srcpkgs/coeurl/template @@ -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 " +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" + } +}