# Description: A collection of multi-dimensional data structures and indexing algorithms
# URL: https://gitlab.com/mdds/mdds
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: boost

name=mdds
version=2.1.1
release=1
source=(https://kohei.us/files/mdds/src/$name-$version.tar.bz2
  use-after-free.patch)

build() {
  cd $name-$version

  patch -Np0 -i $SRC/use-after-free.patch

  ./autogen.sh --prefix=/usr
  make DESTDIR=$PKG install

  rm -fr $PKG/usr/share/doc
}
