PKGBUILDs/extra/libmpcdec/PKGBUILD
2009-09-26 09:35:50 -05:00

22 lines
593 B
Bash

# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
pkgname=libmpcdec
pkgver=1.2.6
pkgrel=1
pkgdesc="Musepack decoding library"
arch=(arm)
license=('custom')
depends=('glibc')
options=('!libtool')
source=(http://files.musepack.net/source/${pkgname}-${pkgver}.tar.bz2)
url="http://musepack.net/"
md5sums=('7f7a060e83b4278acf4b77d7a7b9d2c0')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
./configure --prefix=/usr --disable-static
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
install -Dm644 COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING
}