2 # Maintainer: dan saul <aur@cryingwolf.org>
3 # Contributor: Thomas Baechler <thomas@archlinux.org>
4 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
6 pkgname=libdvdread-dvdfilestat
9 pkgdesc="libdvdread provides a simple foundation for reading DVD video disks"
11 url="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
14 makedepends=('libdvdcss')
15 optdepends=('libdvdcss: for decoding encrypted DVDs')
17 replaces=('libdvdread')
18 conflicts=('libdvdread')
19 provides=('libdvdread=4.1.3')
20 source=(http://www.mplayerhq.hu/MPlayer/releases/dvdnav/libdvdread-${pkgver}.tar.bz2 dvd_reader.h.patch dvd_reader.c.patch)
21 md5sums=('6dc068d442c85a3cdd5ad3da75f6c6e8' 'fba2d06c2bfacaa6dd66186476a80289' '77c0a4311656d4d5561f0753152a9efc')
24 cd "${srcdir}/libdvdread-${pkgver}/src"
25 patch -Np0 -i ${srcdir}/dvd_reader.h.patch
26 patch -Np0 -i ${srcdir}/dvd_reader.c.patch
28 cd "${srcdir}/libdvdread-${pkgver}"
29 ./autogen.sh --prefix=/usr || return 1
31 make DESTDIR="${pkgdir}" install || return 1