# $Id: PKGBUILD 69820 2010-02-22 22:23:44Z giovanni $ # Maintainer: arjan <arjan@archlinux.org> # contributor Sarah Hay <sarahhay@mb.sympatico.ca> pkgname=libdvdnav pkgver=4.1.3 pkgrel=2 pkgdesc="The library for xine-dvdnav plugin." arch=(i686 x86_64) license=('GPL') url="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/" depends=('libdvdread>=4.1.3') options=(!libtool) source=(http://www.mplayerhq.hu/MPlayer/releases/dvdnav/${pkgname}-${pkgver}.tar.bz2 deadlock.patch) md5sums=('d62383c45b28816771e283515f2c27fa' '864529165a1136ae4c1ccbc7b43cdb1a') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -Np1 -i ${srcdir}/deadlock.patch || return 1 ./autogen.sh --prefix=/usr || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 } md5sums=('d62383c45b28816771e283515f2c27fa' 'd26d9ab9d705e4e3fa16e0592ad33c79')