# Description: Library for manipulating sound files
# URL: https://libsndfile.github.io/libsndfile/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: alsa-lib flac libvorbis opus python3

name=libsndfile
version=1.2.2
release=1
source=(https://github.com/libsndfile/libsndfile/releases/download/$version/$name-$version.tar.xz)

build() {
  cd $name-$version

  ./configure --prefix=/usr
  make
  make DESTDIR=$PKG install

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