summaryrefslogtreecommitdiff
path: root/community/coeurl/APKBUILD
blob: 0364099f0072a859e63c87f963d4f298949d44f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=coeurl
pkgver=0.2.1
pkgrel=2
pkgdesc="Asynchronous wrapper around libcurl"
url="https://nheko.im/nheko-reborn/coeurl"
arch="all"
license="MIT"
makedepends="cmake curl-dev libevent-dev meson spdlog-dev"
subpackages="$pkgname-dev"
source="https://nheko.im/nheko-reborn/coeurl/-/archive/v$pkgver/coeurl-v$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
0e65c1120eb352d75976a2b1f11a83dea4e6557276b22962c37e6387bf649ad18117f6f4b4b1b76d4cce2ef53d55834aacf7207e7c15e015344f3c4a60a49671  coeurl-v0.2.1.tar.bz2
"