# $Id: PKGBUILD 39815 2009-05-21 13:59:34Z jgc $ # Maintainer: Thomas Baechler # Contributor: Tom Newsom pkgname=libdvdread pkgver=4.1.3 pkgrel=1 pkgdesc="libdvdread provides a simple foundation for reading DVD video disks" arch=(i686 x86_64) url="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/" license=('GPL') depends=('glibc') makedepends=('libdvdcss') optdepends=('libdvdcss: for decoding encrypted DVDs') options=('!libtool') source=(http://www.mplayerhq.hu/MPlayer/releases/dvdnav/${pkgname}-${pkgver}.tar.bz2) md5sums=('6dc068d442c85a3cdd5ad3da75f6c6e8') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./autogen.sh --prefix=/usr || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 }