summaryrefslogtreecommitdiffstats
path: root/abs/core/libdvdread
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libdvdread')
-rw-r--r--abs/core/libdvdread/PKGBUILD23
-rw-r--r--abs/core/libdvdread/libdvdread.install11
2 files changed, 34 insertions, 0 deletions
diff --git a/abs/core/libdvdread/PKGBUILD b/abs/core/libdvdread/PKGBUILD
new file mode 100644
index 0000000..e39e586
--- /dev/null
+++ b/abs/core/libdvdread/PKGBUILD
@@ -0,0 +1,23 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: Thomas Baechler <thomas@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=libdvdread
+pkgver=0.9.7
+pkgrel=1
+arch=(i686 x86_64)
+pkgdesc="libdvdread provides a simple foundation for reading DVD video disks"
+depends=('glibc')
+makedepends=('libdvdcss')
+install=$pkgname.install
+options=('!libtool')
+source=(http://www.dtek.chalmers.se/groups/dvd/dist/$pkgname-$pkgver.tar.gz)
+url="http://www.dtek.chalmers.se/groups/dvd/downloads.shtml"
+md5sums=('078788c9241ae16763529e1235502337')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR=$startdir/pkg install
+}
diff --git a/abs/core/libdvdread/libdvdread.install b/abs/core/libdvdread/libdvdread.install
new file mode 100644
index 0000000..913bc56
--- /dev/null
+++ b/abs/core/libdvdread/libdvdread.install
@@ -0,0 +1,11 @@
+post_install() {
+ echo "==> If you want to decode encrypted DVDs, you also need the libdvdcss package."
+}
+
+post_upgrade() {
+ post_install
+}
+
+op=$1
+shift
+$op $*