blob: a5b2a112fc7efb6316157642cdc9e0a49a1c2b9b (
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
26
27
28
29
30
31
32
33
34
|
# $Id: PKGBUILD 146400 2012-01-10 20:33:06Z andrea $
# Maintainer:
# Contributor: François Charette <firmicus ατ gmx δοτ net>
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
# Contributor: Michal Hybner <dta081@gmail.com>
pkgname=wavpack
pkgver=4.60.1
pkgrel=2.1
pkgdesc="Audio compression format with lossless, lossy, and hybrid compression modes"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.wavpack.com/"
license=('custom')
depends=('glibc')
options=('!libtool')
source=("http://www.wavpack.com/${pkgname}-${pkgver}.tar.bz2")
md5sums=('7bb1528f910e4d0003426c02db856063')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
[ "$CARCH" = "mips64el" ] || extra=--enable-mmx
./configure --prefix=/usr \
$extra \
--disable-static
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
install -Dm644 license.txt \
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
|