# Description: Library for loading and wrapping LV2 plugin UIs.
# URL: https://drobilla.net/software/suil/
# Maintainer: unmaintained
# Depends on: sratom

name=suil
version=0.10.18
release=1
source=(https://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
}
