From e7c7bcc8e72ca2ceff29d3586ca75dad8f3dc176 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 24 Apr 2017 14:12:40 +0000
Subject: lsdvd: update to 0.17

---
 abs/core/lsdvd/PKGBUILD           | 33 +++++++++++++++++----------------
 abs/core/lsdvd/stdint_usage.patch | 22 ----------------------
 2 files changed, 17 insertions(+), 38 deletions(-)
 delete mode 100644 abs/core/lsdvd/stdint_usage.patch

diff --git a/abs/core/lsdvd/PKGBUILD b/abs/core/lsdvd/PKGBUILD
index 0323625..3145f65 100644
--- a/abs/core/lsdvd/PKGBUILD
+++ b/abs/core/lsdvd/PKGBUILD
@@ -1,28 +1,29 @@
-# $Id: PKGBUILD 150946 2012-02-24 09:46:48Z pierre $
-# Maintainer: Aaron Griffin <aaron@archlinux.org>
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Aaron Griffin <aaron@archlinux.org>
+# Contributor: Mathieu Clabaut <mathieu.clabaut@gmail.com>
 
 pkgname=lsdvd
-pkgver=0.16
-pkgrel=6
-pkgdesc="A C application for reading the contents of a DVD and printing the contents to your terminal"
+pkgver=0.17
+pkgrel=1
+pkgdesc="Console application that displays the content of a DVD"
 arch=('i686' 'x86_64')
 url="http://sourceforge.net/projects/lsdvd/"
-depends=('libdvdread')
 license=('GPL2')
-#Special thanks to Mathieu Clabaut <mathieu.clabaut@gmail.com> for patches
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
-        'stdint_usage.patch')
-md5sums=('340e1abe5c5e5abf7ff8031e78f49ee7'
-         '6cbcbfde873f894bd3c784f65141b2fc')
+depends=('libdvdread')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('32e63ff932ee2867e023ad3e74e14dcb')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i "${srcdir}/stdint_usage.patch"
-  ./configure --prefix=/usr --mandir=/usr/share/man
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr
+
   make
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
 }
diff --git a/abs/core/lsdvd/stdint_usage.patch b/abs/core/lsdvd/stdint_usage.patch
deleted file mode 100644
index 67b9ee8..0000000
--- a/abs/core/lsdvd/stdint_usage.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/lsdvd.c	2006-03-02 07:48:11.000000000 -0600
-+++ b/lsdvd.c	2007-09-27 19:15:28.000000000 -0500
-@@ -13,6 +13,7 @@
-  *  2003-04-19  Cleanups get_title_name, added dvdtime2msec, added helper macros,
-  *			  output info structures in form of a Perl module, by Henk Vergonet.
-  */
-+#include <stdint.h>
- #include <dvdread/ifo_read.h>
- #include <string.h>
- #include <sys/stat.h>
---- a/configure	2005-12-12 14:22:45.000000000 -0600
-+++ b/configure	2007-09-27 19:15:13.000000000 -0500
-@@ -2887,8 +2887,8 @@
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h.  */
--#include <dvdread/ifo_read.h>
- 		#include <stdint.h>
-+#include <dvdread/ifo_read.h>
- int
- main ()
- {
-- 
cgit v0.12

