summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/wavpack/PKGBUILD
blob: c0ab01a00026002cd8642e55a0831d2bd46c4cc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $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
}