# Template file for 'libdvdread'
pkgname=libdvdread
version=5.0.3
revision=1
build_style=gnu-configure
short_desc="DVD access library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://www.videolan.org/developers/libdvdnav.html"
distfiles="https://get.videolan.org/libdvdread/${version}/libdvdread-${version}.tar.bz2"
checksum=321cdf2dbdc83c96572bc583cd27d8c660ddb540ff16672ecb28607d018ed82b

libdvdread-devel_package() {
	depends="${sourcepkg}>=${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"
	}
}
