summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bf1d03bcc58675f5945f068c3a5de0b047c59b8c (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
36
37
38
39
40
41
42
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>

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

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

prepare() {
  mkdir -p build

  cd libdvdnav
  autoreconf -vif
}

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

  make
}

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