summaryrefslogtreecommitdiff
path: root/extra/libdvdnav/PKGBUILD
blob: ab1d622b7f1051a04ac6d2aa136f25736d365509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $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 'mips64el')
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
}