diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/libdvdread/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/libdvdread/PKGBUILD')
-rw-r--r-- | extra/libdvdread/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/extra/libdvdread/PKGBUILD b/extra/libdvdread/PKGBUILD new file mode 100644 index 000000000..dcdbf47d9 --- /dev/null +++ b/extra/libdvdread/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 80196 2010-05-13 15:59:09Z andrea $ +# Maintainer: +# Contributor: Thomas Baechler <thomas@archlinux.org> +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=libdvdread +pkgver=4.1.3 +pkgrel=2 +pkgdesc="Provides a simple foundation for reading DVD video disks" +arch=(i686 x86_64) +url="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/" +license=('GPL') +depends=('glibc') +makedepends=('libdvdcss') +optdepends=('libdvdcss: for decoding encrypted DVDs') +options=('!libtool') +source=("http://www.mplayerhq.hu/MPlayer/releases/dvdnav/${pkgname}-${pkgver}.tar.bz2" + 'DVDFileStat.patch') +md5sums=('6dc068d442c85a3cdd5ad3da75f6c6e8' + '7314874e246634019be929a96340437a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/2009-February/000986.html (FS#19324) + patch -Np1 -i ${srcdir}/DVDFileStat.patch || return 1 + + ./autogen.sh --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install || return 1 +} |