void-packages/srcpkgs/libdvdnav/template
2019-11-03 11:18:24 +01:00

26 lines
866 B
Bash

# Template file for 'libdvdnav'
pkgname=libdvdnav
version=6.0.1
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libdvdcss-devel libdvdread-devel"
short_desc="Library to navigate DVDs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.videolan.org/developers/libdvdnav.html"
changelog="https://code.videolan.org/videolan/libdvdnav/blob/master/ChangeLog"
distfiles="https://download.videolan.org/pub/videolan/libdvdnav/${version}/libdvdnav-${version}.tar.bz2"
checksum=e566a396f1950017088bfd760395b0565db44234195ada5413366c9d23926733
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"
}
}