# Contributor: Timo Teräs <timo.teras@iki.fi> # Maintainer: pkgname=libdvdread pkgver=6.0.0 pkgrel=0 pkgdesc="Library for reading DVD video discs" url="http://dvdnav.mplayerhq.hu/" arch="all" license="GPL-2.0+ AND LGPL-2.1+ AND GPL-2.0-only" makedepends="libdvdcss-dev" subpackages="$pkgname-dev $pkgname-doc" source="https://download.videolan.org/pub/videolan/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-static \ --enable-shared \ --with-libdvdcss make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="b07179f2f665adf6ddd7bf8b7c48cd279f3f413c5719b8ca8467e53c7cd0cac02a40101f3717186dc0e4e69e5d9c7ac6bf98a76901412d74150b9fc7bfdd2479 libdvdread-6.0.0.tar.bz2"