void-packages/srcpkgs/libdvdnav/template
2017-06-19 01:25:25 +02:00

25 lines
759 B
Bash

# Template file for 'libdvdnav'
pkgname=libdvdnav
version=5.0.3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libdvdread-devel"
short_desc="Library to navigate DVDs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://www.videolan.org/developers/libdvdnav.html"
distfiles="https://download.videolan.org/pub/videolan/libdvdnav/${version}/libdvdnav-${version}.tar.bz2"
checksum=5097023e3d2b36944c763f1df707ee06b19dc639b2b68fb30113a5f2cbf60b6d
libdvdnav-devel_package() {
depends="${makedepends} ${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"
}
}