blob: 3cebcc68a14f2ab8d77663554c50f889b7738238 (
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
35
36
37
38
39
40
41
|
# $Id: PKGBUILD 56848 2011-10-14 21:03:20Z schiv $
# Maintainer:
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
# Contributor: Eric Belanger <belanger@astro.umontreal.ca>
pkgname=musepack-tools
pkgver=475
pkgrel=1
pkgdesc="Musepack decoder/encoder"
arch=('i686' 'x86_64')
url="http://www.musepack.net/"
license=('LGPL')
depends=('libcuefile' 'libreplaygain')
makedepends=('cmake')
source=("http://files.musepack.net/source/musepack_src_r$pkgver.tar.gz"
"math.patch")
md5sums=('754d67be67f713e54baf70fcfdb2817e'
'9de31f07a3492c7b1db1248b055fbdc8')
build() {
cd "$srcdir/musepack_src_r$pkgver"
#export LDFLAGS+="-lm"
patch -Np1 -i "$srcdir/math.patch"
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON
}
package() {
cd "$srcdir/musepack_src_r$pkgver"
make DESTDIR="$pkgdir" install
for bin in chap cut dec enc gain 2sv8; do
install -Dm755 mpc$bin/mpc$bin "$pkgdir/usr/bin/mpc$bin"
done
}
# vim:set ts=2 sw=2 et:
|