# Template file for 'libdvdread'
pkgname=libdvdread
version=5.0.0
revision=1
build_style=gnu-configure
short_desc="DVD access library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://dvdnav.mplayerhq.hu"
distfiles="https://get.videolan.org/libdvdread/${version}/libdvdread-${version}.tar.bz2"
checksum=66fb1a3a42aa0c56b02547f69c7eb0438c5beeaf21aee2ae2c6aa23ea8305f14

libdvdread-devel_package() {
	depends="libdvdread>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/share
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
		vmove "usr/lib/*.a"
	}
}
