# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=serd
pkgver=0.32.2
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="
052f0765a9af6883a7ef1a31bd90eea3c57d93747dfb989eeda8c4dabbf2ae7d2e868d437aa2a510243f3a535e366739fe266cf82ef0d280472868c87055d50a  serd-0.32.2.tar.xz
"
