# Description: A typed linked list C header file only library
# URL: https://codeberg.org/dnkl/tllist
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on:

name=tllist
version=1.1.0
release=1
source=(https://codeberg.org/dnkl/tllist/archive/$version.tar.gz)

build() {
  meson setup $name 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
  rm -r $PKG/usr/share
}
