# $Id: PKGBUILD 143895 2011-11-30 19:46:58Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor 03/08/04 <lefungus@altern.org>

pkgname=libmatroska
pkgver=1.3.0
pkgrel=2
pkgdesc="Matroska library"
arch=('i686' 'x86_64')
url="http://dl.matroska.org/downloads/libmatroska/"
license=('LGPL')
depends=('libebml')
source=("http://dl.matroska.org/downloads/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('f4a8c411f09d39c754eb726efd616043')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}/make/linux"

  make sharedlib
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}/make/linux"

  make prefix="${pkgdir}/usr" install
}