summaryrefslogtreecommitdiff
path: root/extra/libdvdnav/PKGBUILD
blob: a4b703403e99e0e2d376e9b5cf56a0fabc98fca6 (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
28
29
30
31
32
# $Id: PKGBUILD 144004 2011-12-01 16:22:55Z giovanni $
# Maintainer: arjan <arjan@archlinux.org>
# contributor Sarah Hay <sarahhay@mb.sympatico.ca>

pkgname=libdvdnav
pkgver=4.1.3
pkgrel=3
pkgdesc="The library for xine-dvdnav plugin."
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
depends=('libdvdread')
options=(!libtool)
source=("http://www.mplayerhq.hu/MPlayer/releases/dvdnav-old/${pkgname}-${pkgver}.tar.bz2"
        'deadlock.patch')
md5sums=('d62383c45b28816771e283515f2c27fa'
         '864529165a1136ae4c1ccbc7b43cdb1a')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  
  patch -Np1 -i ${srcdir}/deadlock.patch

  ./autogen.sh --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
}