# $Id: PKGBUILD 3456 2008-06-22 19:29:25Z jgc $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw> # Contributor: Michal Hybner <dta081@gmail.com> pkgname=wavpack pkgver=4.50.0 pkgrel=1 pkgdesc="A completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression mode" arch=('i686' 'x86_64') url="http://www.wavpack.com/" license=('custom') depends=('glibc') options=('!libtool') source=(http://www.wavpack.com/${pkgname}-${pkgver}.tar.bz2) md5sums=('9cf854fc2e5757f6534a3a231ec6bfbc') build() { cd ${startdir}/src/${pkgname}-${pkgver} ./configure --prefix=/usr --enable-mmx --disable-static || return 1 make || return 1 make DESTDIR=${startdir}/pkg install || return 1 install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname} install -m644 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 rm -f ${startdir}/pkg/usr/lib/*.a }