From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/lsdvd/PKGBUILD | 28 ++++++++++++++++++++++++++++ community/lsdvd/stdint_usage.patch | 22 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 community/lsdvd/PKGBUILD create mode 100644 community/lsdvd/stdint_usage.patch (limited to 'community/lsdvd') diff --git a/community/lsdvd/PKGBUILD b/community/lsdvd/PKGBUILD new file mode 100644 index 000000000..69fca75c9 --- /dev/null +++ b/community/lsdvd/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 76873 2012-10-01 14:53:57Z bisson $ +# Maintainer: Aaron Griffin + +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" +arch=('i686' 'x86_64') +url="http://sourceforge.net/projects/lsdvd/" +depends=('libdvdread') +license=('GPL2') +#Special thanks to Mathieu Clabaut for patches +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" + 'stdint_usage.patch') +md5sums=('340e1abe5c5e5abf7ff8031e78f49ee7' + '6cbcbfde873f894bd3c784f65141b2fc') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/stdint_usage.patch" + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/lsdvd/stdint_usage.patch b/community/lsdvd/stdint_usage.patch new file mode 100644 index 000000000..67b9ee82d --- /dev/null +++ b/community/lsdvd/stdint_usage.patch @@ -0,0 +1,22 @@ +--- 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 + #include + #include + #include +--- 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 + #include ++#include + int + main () + { -- cgit v1.2.3-54-g00ecf