summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0d494b889159a4f006bf252782c411018f1e02fd (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
33
34
35
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>

pkgname=libdvdnav-git
pkgver=5.0.3.4.g8a270d6
pkgrel=1
pkgdesc="Library to navigate DVD disks. (GIT version)"
arch=('i686' 'x86_64')
url='http://dvdnav.mplayerhq.hu'
license=('GPL2')
depends=('libdvdread-git')
makedepends=('git')
provides=('libdvdnav' 'libdvdnav.so')
conflicts=('libdvdnav')
source=("git://git.videolan.org/libdvdnav.git")
sha1sums=('SKIP')

pkgver() {
  cd libdvdnav
  echo "$(git describe --long --tags | tr - .)"
}

prepare() {
  cd libdvdnav
  autoreconf -if
}

build() {
  cd libdvdnav
  ./configure --prefix=/usr --enable-static=no
  make
}

package() {
  make -C libdvdnav DESTDIR="${pkgdir}" install
}