updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libdvdread-dvdfilestat / PKGBUILD
blobc004c2283c6b7daea81d4f875ad22a55a9167994
1 # $Id$
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
7 pkgver=4.1.3
8 pkgrel=3
9 pkgdesc="libdvdread provides a simple foundation for reading DVD video disks"
10 arch=(i686 x86_64)
11 url="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
12 license=('GPL')
13 depends=('glibc')
14 makedepends=('libdvdcss')
15 optdepends=('libdvdcss: for decoding encrypted DVDs')
16 options=('!libtool')
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')
23 build() {
24   cd "${srcdir}/libdvdread-${pkgver}/src"
25   patch -Np0 -i ${srcdir}/dvd_reader.h.patch
26   patch -Np0 -i ${srcdir}/dvd_reader.c.patch
27   
28   cd "${srcdir}/libdvdread-${pkgver}"
29   ./autogen.sh --prefix=/usr || return 1
30   make || return 1
31   make DESTDIR="${pkgdir}" install || return 1