# Contributor: Timo Teräs <timo.teras@iki.fi> # Maintainer: pkgname=libdvdread pkgver=6.0.2 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" depends="" makedepends="libdvdcss-dev" subpackages="$pkgname-dev $pkgname-doc" source="https://download.videolan.org/pub/videolan/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-static \ --enable-shared \ --with-libdvdcss make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="e8831a67bbf1a144e9298b59e5462889c8b0197592a3c169523b5d84d9b9c1aaa719ccde2aa98c490e04f2a94c3fa7244b286e8faed674ae8c70400a0ece9c6c libdvdread-6.0.2.tar.bz2"