summaryrefslogtreecommitdiffstats
path: root/abs/core/libdvdread
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libdvdread')
-rw-r--r--abs/core/libdvdread/PKGBUILD25
1 files 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
}