PKGBUILDs/extra/wavpack/PKGBUILD

26 lines
977 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 20309 2008-12-02 12:04:28Z francois $
# Maintainer: François Charette <firmicus ατ gmx δοτ net>
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
# Contributor: Michal Hybner <dta081@gmail.com>
pkgname=wavpack
pkgver=4.50.1
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=('2c9d7e3672f60070d4fd2c86c924a3b4')
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
}