From 99165c68193f29780a40b7f808cd66cd96f1618a Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sat, 29 Dec 2018 22:29:17 +0000
Subject: libdvdread: update to 6.0.0. refs #1030

---
 abs/core/libdvdread/PKGBUILD | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/abs/core/libdvdread/PKGBUILD b/abs/core/libdvdread/PKGBUILD
index 04e4431..4bab96e 100644
--- a/abs/core/libdvdread/PKGBUILD
+++ b/abs/core/libdvdread/PKGBUILD
@@ -1,22 +1,26 @@
-# $Id$
 # Maintainer: Jan de Groot <jgc@archlinux.org>
 # Contributor: Thomas Baechler <thomas@archlinux.org>
 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
 
 pkgname=libdvdread
-pkgver=5.0.4
+pkgver=6.0.0
 pkgrel=1
 pkgdesc="Provides a simple foundation for reading DVD video disks"
-arch=(i686 x86_64)
-url="http://dvdnav.mplayerhq.hu"
+arch=(x86_64)
+url="https://www.videolan.org/developers/libdvdnav.html"
 license=('GPL')
 depends=('glibc')
 makedepends=('libdvdcss' 'git')
 optdepends=('libdvdcss: for decoding encrypted DVDs')
-_gitver=5ec409508803037dfa931591aef93851458d1d2a
-source=(git+https://code.videolan.org/videolan/libdvdread.git#commit=$_gitver)
+_commit=95fdbe8337d2ff31dcfb68f35f3e4441dc27d92f  # tags/6.0.0^0
+source=("git+https://code.videolan.org/videolan/libdvdread.git#commit=$_commit")
 sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed -e 's/-/+/g'
+}
+
 prepare() {
   cd $pkgname
   autoreconf -fi
-- 
cgit v0.12

