# Description: A lightweight C library for storing RDF data in memory.
# URL: https://drobilla.net/software/sord.html
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: serd

name=sord
version=0.16.14
release=1
source=(http://download.drobilla.net/$name-$version.tar.xz)

build() {
  meson setup $name-$version build \
    --prefix=/usr \
    --buildtype=plain \
    --wrap-mode nodownload \
    -D b_lto=true \
    -D b_pie=true

  meson compile -C build
  DESTDIR=$PKG meson install -C build
}
