# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=serd
pkgver=0.32.4
pkgrel=0
pkgdesc="lightweight C library for RDF syntax"
url="https://drobilla.net/software/serd"
arch="all"
license="ISC"
makedepends="meson"
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
source="https://download.drobilla.net/serd-$pkgver.tar.xz"
options="!check" # No tests

build() {
	abuild-meson -Db_lto=true . output
	meson compile -C output
}

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

sha512sums="
5dd0c2547929d3a52e8d8cc6fb1546c3c82f9f023e93d761569bafcabeee4c0660368b3e03774e5a8625ad29b561b75931944119ed907571de012cbcb9d82159  serd-0.32.4.tar.xz
"
