From b5f2b7c5d097053f444944b5b8a18585c818f714 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 25 Nov 2014 19:54:38 +0000
Subject: libdvdread: update to 5.0.0

---
 abs/core/libdvdread/PKGBUILD | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/abs/core/libdvdread/PKGBUILD b/abs/core/libdvdread/PKGBUILD
index 53a51bc..b7fdba4 100644
--- a/abs/core/libdvdread/PKGBUILD
+++ b/abs/core/libdvdread/PKGBUILD
@@ -1,32 +1,33 @@
-# $Id: PKGBUILD 144377 2011-12-05 12:49:24Z jgc $
+# $Id$
 # Maintainer: Jan de Groot <jgc@archlinux.org>
 # Contributor: Thomas Baechler <thomas@archlinux.org>
 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
 
 pkgname=libdvdread
-pkgver=4.2.0
+pkgver=5.0.0
 pkgrel=1
 pkgdesc="Provides a simple foundation for reading DVD video disks"
 arch=(i686 x86_64)
 url="http://dvdnav.mplayerhq.hu"
 license=('GPL')
 depends=('glibc')
-makedepends=('libdvdcss')
+makedepends=('libdvdcss' 'git')
 optdepends=('libdvdcss: for decoding encrypted DVDs')
-options=('!libtool')
-source=(http://dvdnav.mplayerhq.hu/releases/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('0bea15da842a4b04a482b009d72dcc6d9c9524ccc1bf67e5748319ec5ada8097')
+source=(git://git.videolan.org/libdvdread.git#tag=$pkgver)
+sha256sums=('SKIP')
 
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  # http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/2009-February/000986.html (FS#19324)
+prepare() {
+  cd $pkgname
+  autoreconf -fi
+}
 
-  ./autogen.sh --prefix=/usr
+build() {
+  cd $pkgname
+  ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd $pkgname
   make DESTDIR="${pkgdir}" install
 }
-- 
cgit v0.12