summaryrefslogtreecommitdiff
path: root/extra/libmpcdec/PKGBUILD
blob: fd877161172c7e1e79ecab5e8f6be74c0b6ba9b4 (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 198202 2013-10-30 13:25:43Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libmpcdec
pkgver=1.2.6
pkgrel=3
pkgdesc="Musepack decoding library"
arch=('i686' 'x86_64')
url="http://musepack.net/"
license=('custom')
depends=('glibc')
source=("http://files.musepack.net/source/${pkgname}-${pkgver}.tar.bz2")
md5sums=('7f7a060e83b4278acf4b77d7a7b9d2c0')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
  install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}