# Maintainer: Natanael Copa pkgname=libsndfile pkgver=1.0.23 pkgrel=1 pkgdesc="A C library for reading and writing files containing sampled sound" url="http://www.mega-nerd.com/libsndfile" arch="all" license="LGPL" subpackages="$pkgname-dev $pkgname-doc" depends= depends_dev="flac-dev libvorbis-dev libogg-dev" makedepends="alsa-lib-dev $depends_dev" source="http://www.mega-nerd.com/$pkgname/files/$pkgname-$pkgver.tar.gz" build () { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ --disable-sqlite \ || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 } md5sums="d0e22b5ff2ef945615db33960376d733 libsndfile-1.0.23.tar.gz"