# $Id: PKGBUILD 14403 2008-10-06 08:19:39Z douglas $
# Maintainer: arjan <arjan@archlinux.org>
# Contributor Sarah Hay <sarahhay@mb.sympatico.ca>

pkgname=libdvdcss
pkgver=1.2.10
pkgrel=1
pkgdesc="libdvdcss is a cross-platform library for transparent DVD device access with on-the-fly CSS decryption."
arch=('i686' 'x86_64')
depends=('glibc')
options=('!libtool')
source=(http://download.videolan.org/pub/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2)
url="http://www.videolan.org/libdvdcss/"

md5sums=('ebd5370b79ac5a83e5c61b24a214cf74')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}