# Description: A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples.
# URL: http://drobilla.net/software/serd
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: meson ninja python3

name=serd
version=0.30.16
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
}
