#Maintainer: George Vlahavas pkgname=libsndfile pkgver=1.0.21 pkgrel=1gv arch=x86_64 source=(http://www.mega-nerd.com/libsndfile/files/libsndfile-$pkgver.tar.gz) docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://www.mega-nerd.com/libsndfile/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libsndfile - a library for reading/writing sound files" "Libsndfile is a C library for reading and writing files containing" "sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format)" "through one standard library interface. It is released in source code" "format under the Gnu Lesser General Public License." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver mv $startdir/pkg/usr/share/doc/libsndfile1-dev/html $startdir/pkg/usr/doc/$pkgname-$pkgver/ rm -rf $startdir/pkg/usr/share }